On 4/16/06, Nicolas FRANCOIS <[EMAIL PROTECTED]> wrote: > > I had to upgrade fontconfig, maybe this is the problem. But I don't know > how to solve it. Can you help ? > > More generally seaking, I ALLWAYS have problems with fonts :-( I hope I > understand this before the end of my first life !
Yes, the fonts can be quite obnoxious. First, where did Xorg-6.9 install the fonts? If you're following the BLFS svn instructions, they should be in $X_PREFIX/lib/X11/fonts, where X_PREFIX is /usr or /usr/X11R6 or whatever. Note that the old setup set Fontdir = /usr/share/fonts in hosts.def. However, this created a lot of problems because X ships with a lot of ugly fonts that we don't want Fontconfig to know about. Second, look at /etc/fonts/fonts.conf. Near the top of the file should be a couple of <dir> entries. By default, these are just /usr/share/fonts and ~/.fonts. The way we handle the default setup now is to make two symlinks from /usr/share/fonts/X11-TTF -> X_PREFIX/lib/X11/fonts/TTF and a similar one for the OTF fonts. These are the only ones from X that you want Fontconfig to know about. All other fonts you download, like FreeFont, should be installed in /usr/share/fonts. I'm jumping all over the place. Sorry about that. Read this page: http://www.linuxfromscratch.org/blfs/view/svn/x/xfree86-setup.html The fonts setup section has been pretty revamped. Report back if you are confused about things. It should just work once Fontconfig knows about the right fonts for KDE/GTK-2/etc. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
