I don't get how the fonts are supposed to look? That looks pretty good to me, it's how I have it set up.
If it's still wrong after setting GTK apps to use the KDE font (in System Settings -> Appearance -> GTK Styles), you'll probably want to set up your own ~/.fonts.conf. You can set up fonts and antialiasing as you please in there. Those settings will override those in /etc/fonts/conf.d/*.
Example of my ~/.fonts.conf (typo remedied):
Code:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- GENERAL OPTIONS
-->
<match target="font">
<edit mode="assign" name="rgba"> <!-- subpixel rendering color order -->
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias"> <!-- antialiasing -->
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="autohint"> <!-- autohinting -->
<bool>false</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting"> <!-- hinting -->
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle"> <!-- style of hinting: hintfull/hintmedium/hintslight/hintnone -->
<const>hintfull</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="embeddedbitmap"> <!-- font bitmaps, mainly for unicode purposes -->
<bool>true</bool>
</edit>
</match>
<!-- FONT REPLACEMENT
Some fonts look positively ugly so changing them to the virtual sans-serif, sans and monospace
-->
<!-- serif -->
<match target="pattern">
<test name="family" qual="any">
<string>Times</string>
</test>
<edit mode="assign" name="family">
<string>serif</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>Nimbus Roman No9 L</string>
</test>
<edit mode="assign" name="family">
<string>serif</string>
</edit>
</match>
<!-- sans-serif -->
<match target="pattern">
<test name="family" qual="any">
<string>Bitstream Vera</string>
</test>
<edit mode="assign" name="family">
<string>sans-serif</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>Bitstream Vera Sans</string>
</test>
<edit mode="assign" name="family">
<string>sans-serif</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>Helvetica</string>
</test>
<edit mode="assign" name="family">
<string>sans-serif</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>Nimbus Sans L</string>
</test>
<edit mode="assign" name="family">
<string>sans-serif</string>
</edit>
</match>
<!-- monospace -->
<match target="pattern">
<test name="family" qual="any">
<string>Bitstream Vera Sans Mono</string>
</test>
<edit mode="assign" name="family">
<string>monospace</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>Courier</string>
</test>
<edit mode="assign" name="family">
<string>monospace</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>Nimbus Mono L</string>
</test>
<edit mode="assign" name="family">
<string>monospace</string>
</edit>
</match>
<!-- VIRTUAL FONTS
The font order which makes up the virtual fonts serif, sans-serif and monospace.
In Karmic, will follow each font for further fallbacks (defined below and in other fonts/conf.d/ files)
-->
<alias>
<family>serif</family>
<prefer>
<family>Times New Roman</family> <!-- main serif font -->
<family>Kochi Mincho</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Arial</family>
<family>DejaVu Sans</family> <!-- main sans-serif font -->
<family>Kochi Gothic</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family> <!-- main monospace font -->
<family>Kochi Gothic</family>
</prefer>
</alias>
<!-- FALLBACKS
Mainly for unicode purposes; as soon as a font doesn't contain a character, it'll try with the next one on this list
-->
<alias>
<family>Times New Roman</family>
<prefer>
<family>Times New Roman</family>
<family>Kochi Mincho</family>
<family>Sazanami Mincho</family>
</prefer>
</alias>
<alias>
<family>Arial</family>
<prefer>
<family>Arial</family>
<family>Kochi Gothic</family>
</prefer>
</alias>
<alias>
<family>DejaVu Serif</family>
<prefer>
<family>DejaVu Sans</family>
<family>Kochi Mincho</family>
</prefer>
</alias>
<alias>
<family>DejaVu Sans</family>
<prefer>
<family>DejaVu Sans</family>
<family>Kochi Gothic</family>
</prefer>
</alias>
<alias>
<family>DejaVu Sans Mono</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Kochi Gothic</family>
</prefer>
</alias>
<alias>
<family>Courier New</family>
<prefer>
<family>Courier New</family>
<family>Kochi Gothic</family>
</prefer>
</alias>
</fontconfig>
Do note that it's set up to use Times New Roman for the Serif virtual font, DejaVu Sans for Sans-serif and DejaVu Sans Mono for Monospace. Also the Kochi series of fonts for unicode fallback, to get good unicode bitmap coverage so CJK (Chinese/Japanese/Korean) fonts aren't drawn as fuzzy vertexes at lower font sizes (<17).
If you don't have those installed it'll just listen to system-specific /etc/fonts/conf.d/* files. Saving this file should make changes apply immediately to newly started programs (and reloaded Firefox pages).
Bookmarks