Quote:
Originally Posted by thegoofeedude
Surprising! I actually looked at the png and immediately thought the fonts on the left looked way better. Actually I am curious how to get my fonts to look like the skinny ones on the left! Fonts are so personal.
|
http://webplaza.pt.lu/uselpa/beautiful.html
This how to should be a good start for non AA fonts. People are right there has been a lot of talk lately about the quality of fonts, which is why I posted my screen shots a while back
http://www.linuxquestions.org/questi...d.php?t=539868. The thing is you guys are right about what you are saying here on how enable the bytecode interpreter and sub pixel rendering, but there is more to it than that to get optimal results, you need to use David Turners Rogue Patches and patch libXft and the PLD guys have updated the Cairo patch to work with 1.4.10. once you apply these patches and recompile Cairo and libXft then you need to make a .fonts.conf file in your home directory with the settings you like, my current settings are
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintmedium</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>
Keep in mind that you can tweak these options, but I think they work quite well like this.
Also the slackbuild does have two lines that you need to un-comment to get the bytecode interpreter and sub pixel rendering. Once you un-comment those lines there is actually one more thing you need to change manually, you need to edit the
/freetype-2.3.5/src/autofit/aflatin.c file. There are two line in particular that you need to change change the following two lines so that they look like so..
if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD )
other_flags |= AF_LATIN_HINTS_HORZ_SNAP;
change that to
if ( mode == FT_RENDER_MODE_MONO )
other_flags |= AF_LATIN_HINTS_HORZ_SNAP;
and then change
if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD_V )
other_flags |= AF_LATIN_HINTS_VERT_SNAP;
to
if ( mode == FT_RENDER_MODE_MONO )
other_flags |= AF_LATIN_HINTS_VERT_SNAP;
Once you do all those things above you will achieve the most optimal cleartype looking fonts that linux can do.
I always get people saying that this issue is stupid and the fonts look fine by default, well good for you but some of us want fonts more like windows.