Bug 12949

Summary: The FcFileScan function doesn't add fonts from some font files
Product: fontconfig Reporter: David <ssdk>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 2.4   
Hardware: All   
OS: All   
i915 platform: i915 features:
Attachments: The font file

Description David 2007-10-26 01:26:11 UTC
The description of the function FcFileScan states: "Scans a single file and adds all fonts found to set". But it doesn't add a font from the given  font file.

The detailed bug description with the font file to download can be found at:

Comment 1 David 2007-10-26 12:24:10 UTC
Created attachment 12222 [details]
The font file
Comment 2 Keith Packard 2007-11-03 13:45:12 UTC
Fontconfig may be configured to skip fonts for any reason; such fonts are never "found" by the scanning process. I've updated the documentation for this and the FcDirScan function to reflect this:

Whether fonts are found depends on fontconfig
poliy as well as the current configuration.

Comment 3 Keith Packard 2007-11-03 13:46:42 UTC
*** Bug 12950 has been marked as a duplicate of this bug. ***
Comment 4 Keith Packard 2007-11-03 22:49:43 UTC
*** Bug 12993 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.