On Thu, 10 Mar 2005 16:42:31 -0700, blfs-bugs wrote:

> ------- Additional Comments From [EMAIL PROTECTED]  2005-03-10 16:42 -------
> Because the /etc/fonts/local.conf file is not created during
> installation, the instructions in the X Window System Components
> must be changed to create the file and add the appropriate
> TrueType directories. Here's an example that could be used:
> 
> cat > /etc/fonts/local.conf << "EOF"
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <!-- /etc/fonts/local.conf file for local customizations -->
> 
> <fontconfig>
> <dir>/usr/X11R6/lib/X11/fonts/Windows</dir> 
> <dir>/usr/X11R6/lib/X11/fonts/TTF</dir> 
> <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
> </fontconfig>
> 
> EOF


IMHO, a better solution is to take advantage of the `--with-add-fonts'
switch to fontconfig. It works perfectly, and is nothing new. It allows
one to specify the X fonts dirs before X is installed and have them listed
in `/etc/fonts/font.conf'

eg:
--with-add-fonts=/usr/X11R6/lib/X11/fonts/TTF,/usr/X11R6/lib/X11/fonts/Type1


Just think of the number of posts from folks who were told to reinstall
fontconfig after X was installed. It's simply not necessary with this
solution. All that's needed is a rerun of fc-cache after X installation.

Regards
Greg
-- 
http://www.diy-linux.org/

-- 
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