Opened 18 years ago

Closed 18 years ago

#1834 closed defect (fixed)

FontDir /usr/share/fonts is wrong

Reported by: alexander@… Owned by: DJ Lucas
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

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.

Change History (5)

comment:1 by DJ Lucas, 18 years ago

Owner: changed from blfs-book@… to DJ Lucas
Status: newassigned

comment:2 by DJ Lucas, 18 years ago

Resolution: fixed
Status: assignedclosed

Committed in 5707.

comment:3 by alexander@…, 18 years ago

Resolution: fixed
Status: closedreopened

Xorg 6.9.0 page still contains:

#define FontDir /usr/share/fonts

Thus, the bug is not fixed.

comment:4 by alexander@…, 18 years ago

Same for XFree86 4.5.0

comment:5 by DJ Lucas, 18 years ago

Resolution: fixed
Status: reopenedclosed

r5718 Corrected in XFree86 and Xorg-6.

Note: See TracTickets for help on using tickets.