[BLFS Trac] #1834: FontDir /usr/share/fonts is wrong

BLFS Trac trac at linuxfromscratch.org
Sun Mar 5 21:03:06 PST 2006


#1834: FontDir /usr/share/fonts is wrong
--------------------------------------------+-------------------------------
 Reporter:  alexander at linuxfromscratch.org  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  defect                          |      Status:  new                           
 Priority:  normal                          |   Milestone:  6.2                           
Component:  BOOK                            |     Version:  a-SVN                         
 Severity:  normal                          |    Keywords:                                
--------------------------------------------+-------------------------------
 Please remove FontDir /usr/share/fonts from non-modular X build
 instructions. This leads to the following bad consequences:

  * Fontconfig (which by default scans the entire /usr/share/fonts) wastes
 time and memory looking at bitmap fonts
  * Non-ISO10646-1 bitmap fonts confuse FreeType's idea about mapping from
 Unicode to glyph index, thus leading to incorrect display of some
 characters
  * fontconfig finds a bitmap version of Helvetica and hands that to
 Firefox when rendering some web pages. Result: no antialiasing.

 Bitmap fonts are only for obsolete toolkits like GTK1 and belong in
 /usr/{,X11R6}/lib/X11/fonts.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1834>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list