It's time to finally finish this off.  Here are the things I see that
need to go in the book.

1. Xorg-6.9 and XFree86-4.5.0 - Add installation commands to symlink
TrueType fonts to a Fontconfig aware location:

ln -svn /usr/X11R6/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
ln -svn /usr/X11R6/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF

2. Xorg-7 - Add installation commands to symlink TrueType fonts to FC
aware location (requires note about installation prefix).  This would
go at the end of Fonts section.

ln -svn /usr/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
ln -svn /usr/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF

3. Fontconfig - Suppress search for X fonts in configure so FC doesn't
use bitmapped fonts.  Use default search path of /usr/share/fonts.

./configure ... --without-add-fonts

4. X Window System Components (TrueType fonts section) - This is where
the most changes will happen.  Here's what I'm thinking.

* Mention FC looks in /usr/share/fonts.  We made symlinks in X build
to make the X TrueType fonts available in /usr/share/fonts/{TTF,OTF}

* Remove notes about establishing /usr/share/fonts/TTF directory and
maintaining all TrueType fonts there.

* Recommend some fonts: DejaVu, Firefly, etc.  Alexander suggests
linking to Unicode font guide.  More details in
http://wiki.linuxfromscratch.org/blfs/ticket/1770

* An example font installation.  I want to emphasis that all the fonts
do not need to be dumped into one directory and fc-cache should be run
for FC to be aware of the fonts.

* mkfontscale, mkfontdir for any fonts added into /usr/lib/X11/fonts/*

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to