Bug 38 - fontconfig cant find gz compressed fonts
Summary: fontconfig cant find gz compressed fonts
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.1
Hardware: x86 (IA32) other
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 11:45 UTC by N/A
Modified: 2003-02-28 02:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description N/A 2003-02-26 11:45:32 UTC
when trying to run an app that uses fontconfig it complains that it cant find any fonts.
I have checked the fonts.conf that comes with the package, the path is set correctly.
gunzip'ing the fonts will make fontconfig work again.
Comment 1 Keith Packard 2003-02-26 11:51:33 UTC
fontconfig depends on freetype support for .pcf.gz font files; it's likely your
freetype doesn't have support for these fonts.
Comment 2 N/A 2003-02-26 12:26:42 UTC
ok i waswrong, the issue is not with gzip compressed fonts but with fonts in subdirectories.
the standard font.conf defines /usr/X11R6/lib/fonts as dir to search fonts
but this doesnt seem to work.
All subdirs are listed with zero fonts in the cache file.
I guess its because there are some subdirs that dont contain valid fonts or something like it.
defining all font dirs in the config file works.
the other solution worked because i copied the some of the fonts to /usr/share/fonts without subdirs.
Comment 3 Keith Packard 2003-02-28 21:41:04 UTC
There were plenty of issues with fonts in subdirectories in old font config
bits, I think those are all fixed now.  You may have to run fc-cache -f to make
things work again, but I hope not.


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.