Fonts look bad in X.org

Alexander E. Patrakov patrakov at ums.usu.ru
Sat Sep 15 22:50:57 PDT 2007


[resending due to problems with gmane - sorry for a possible duplicate]
Martin McCourt wrote:
> On 9/15/07, Alexander E. Patrakov <patrakov at ums.usu.ru> wrote:

>> 1) The same screenshot with any GTK2 application added (to distinguish
>> between "miscompiled qt" and "misconfigured fontconfig").
> 
> Here's another screenshot:
> http://img206.imageshack.us/my.php?image=badfontev3.jpg

OK, the damage is confined to fontconfig.

>> 2) The output of "fc-list".
> 
> [lfs at marty /sources/xorg-build/font]$ fc-list
> DejaVu Serif Condensed:style=Italic

OK, it at least sees the fonts.

>> 3) Tar up the contents of /etc/fonts and attach.

What a mess! You have only conf.d directory, but no conf.avail, and you
have disabled both antialiasing and hinting. Erase the whole directory
and reinstall fontconfig with its default settings.

>> 4) Attach xorg.conf.

Two small mistakes, but unrelated to the damage that you are seeing.
First, there is no need to load the deprecated "type1" module, because
the "freetype" module handles Type1 fonts just fine (but Type1 fonts
that come with Xorg are ugly and can even cause rendering problems in
Konsole, so there is no need to use them at all). Then, there is no need
to mention /usr/share/fonts/X11-{OTF,TTF} in xorg.conf, because the same
directories are already mentioned as /usr/lib/X11/fonts/{OTF,TTF}.

-- 
Alexander E. Patrakov




More information about the blfs-support mailing list