Andrew Benton wrote:
> Hello World,
> It's quite common for people to ask questions on the support list about
> issues related to fonts. I feel many of these issues could be avoided if
> we passed this option to fontconfigs configure script.
>
> --with-add-fonts=/usr/X11R6/lib/X11/fonts
>
> Also, I notice on the page about X Window System Components that it
> suggests that people "Ensure the FontPath in 'XF86Config' or 'xorg.conf'
> Points to the TrueType Font Directory". Is this a relic from the time
> when we used the version of fontconfig included with XFree86? Or is it
> there in case people decide not to compile fontconfig separately but
> decide to use the one included with xorg/XFree? If people follow the
> advice in BLFS and compile fontconfig separately then xorg.conf is not
> relevant as far as configuring fonts goes.
The fontconfig config section says fonts are in /usr/share/fonts by
default.
The hosts.def file in Xorg has:
/* Uncomment the following define if you would prefer to install the
* fonts into /usr/share/fonts, a directory that is fontconfig's default
* font search path.
*
#define FontDir /usr/share/fonts
*/
Perhaps we should just uncomment this #define in the book. I do
uncomment it in my installs.
Also, I note that this #define is not mentioned in XFree86, but I havn't
built that for al loong time.
The comment in the TrueType section has been around for a long time and
yes, it was there before fontconfig was in the book. IIRC, when
generating a xfree86.conf file, the line
FontPath "/usr/share/fonts/TrueType/"
was automatically generated, but the install created a TTF directory.
If we change the default BLFS font directory to /usr/share/fonts in X,
this section needs to be updated too.
Also, I have asked in the past but want to bring it up again not that it
appears that some changes are needed: Is it time to drop xfree86? I
don't want to install it to check out changes. Is there an editor who does?
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page