Bug 71641

Summary: Xft does not honor gzipped fonts in ~/.fonts/
Product: [Retired] Red Hat Public Beta Reporter: Michael K. Johnson <johnsonm>
Component: freetypeAssignee: Owen Taylor <otaylor>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: limbo   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-16 02:28:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael K. Johnson 2002-08-16 01:57:02 UTC
Description of Problem:

When I put gzipped pcf fonts into my ~/.fonts directory, they are not
found.  If I simply gunzip them, then they are found.  For example, I
want to use the old-style "fixed" family of fonts for my terminal
windows; specifically, the "10x20" font.  I copied
/usr/X11R6/lib/X11/fonts/misc/* into ~/.fonts and restarted X (to make
sure all applications really restarted) and no new fonts were available;
in particular, the "Fixed" family didn't show up in the font selector
for gnome-terminal.  When I ungzipped them, then the "Fixed" family
showed up in the font selector and I was able to use the fonts.

Version-Release number of selected component (if applicable):
Xft-1.9.1.020811.1151-2

How Reproducible:
Always

Comment 1 Michael K. Johnson 2002-08-16 02:28:24 UTC
Oops, that should have read:
"...I copied
/usr/X11R6/lib/X11/fonts/misc/10x20* into ~/.fonts..."

I didn't copy in the whole directory, just the fonts I wanted.
Not that this is likely to make a difference...

Comment 2 Owen Taylor 2002-08-16 15:49:54 UTC
This is a known limitation of FreeType ... it wouldn't actually be
hard to add support for gzip'ed streams, but it isn't a good idea,
because seaking to find the glyphs you need is very inefficienct.

The long-term direction for bitmap fonts it to go to TrueType fonts
with only embedded bitmaps ... they are almost as compact as gzip'ed
PCF, more efficient, and a better/richer font format.