Issue 102652 - Fonts in directory with name having underscore character in it, are not found
Summary: Fonts in directory with name having underscore character in it, are not found
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 3.0.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: writerneedsconfirm
QA Contact: issues@sw
URL:
Keywords:
: 102653 (view as issue list)
Depends on:
Blocks:
 
Reported: 2009-06-10 17:46 UTC by fropeter
Modified: 2009-06-16 12:24 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description fropeter 2009-06-10 17:46:08 UTC
On Fedora 10 (up to date)

(Sorry if the subcategory is wrong; not shure of where this belongs.)

I had a subdirectory in /usr/share/fonts that had a name with underscore
characters as word separators. The fonts in it did not show up in OO Writer.
Permissions and SELinux contexts were the same for both directory and files as
for other directories and fontfiles that did show up in the fontlist.

I did restart Writer each time I made a change to permissions or contexts, but
nothing changed.

After I removed the underscore characters from the directory name, the fonts
showed up in OO Writer after a restart.

The names of the files in that directory also have underscore characters in
them, but it does not prevent them from being included in the list.

Normal behaviour would be that the underscore character did not cause
directories to be skipped, as it is one of the allowed characters.
Comment 1 fropeter 2009-06-10 17:53:52 UTC
Sorry for the double posting. I got several "fatal errors" on the submission
confirmation page, so I posted it again. It was just my forgetting to allow
scripts from www-cdn.sun.com.

I'll close this issue, use 102653 instead

Again: I'm sorry for the inconvenience.
Comment 2 eric.savary 2009-06-10 19:26:39 UTC
*** Issue 102653 has been marked as a duplicate of this issue. ***
Comment 3 a.eroshin 2009-06-12 13:04:28 UTC
Please, try to rebuild font cache with fc-cache.
Comment 4 fropeter 2009-06-13 21:34:06 UTC
I reverted the name of the directory to it's old one, including underscore
characters. As before, OO Writer didn't show those fonts.
Then I ran fc-cache as my normal user.
The fonts now show up as they should. The problem is solved. 

I don't understand, though, why I can add a directory without underscore
characters in the name, and the fonts in it are found, whereas directories
_with_ underscore in their names are not read.
Should this still be considered a bug? If so, is it a Fedora or OOo bug?
Thanks for the help in solving my problem.
Comment 5 hdu@apache.org 2009-06-15 14:42:49 UTC
> Should this still be considered a bug? If so, is it a Fedora or OOo bug?

Looks like an issue for fontconfig. A very low priority issue though because fontconfig has the very 
reasonable expectation that fc-cache gets run whenever its directory structure or directory contents were 
changed.

Not an issue for OOo though => adjusting status accordingly
Comment 6 eric.savary 2009-06-16 12:24:55 UTC
closed