Thanks! That worked for me when upgrading from 9.04 to 9.10. Sweet.
Printable View
i know this is'nt gonna be much help, but Firefox is a GTK app :(
and KDE 4x has a 'QT4-gtk engine' which can help GTK apps fit in to KDE but sadly, it screws Firefox.. at least it used to in Jaunty.. by not shutting Firefox, resulting in a 'firefox is already runng' type of error :(
good job Konqueror is actually really quite good in Karmic .. :)
Umm, is it possible to make Firefox use the "best contrast" option? Or something? I don't like full antialiasing, but don't want to disable it either... :(
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):
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).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>
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).
Hi,
the problem semms to be the missing font "Bitstream Vera".
It has been removed silenty without any replacements by Ubuntu.
(Anybody knows why? :confused:)
If you using old config stuff (on upgrade) every application using this font
looks very ugly. Especially if it using a monospace font of Bitstream Vera.
You can simply install it from launchpad https://launchpad.net/ubuntu/karmic/...am-vera/1.10-7 or replace the fontsetting for every application by another font.
(and again: does anybody knows the official replacement font for Bitstream Vera?)
EDIT: I found the answer for the second question here: https://issues.foresightlinux.org/browse/FL-370
denk_mal
Its pretty clear there is a difference of opinion here! Going on what everyone has said dumblebee, Capa Pinbacker and Zorael all view having anti-aliasing off as the desired outcome, whereas SirSigma was saying his fonts looked screwed because the AA got turned off and he wants it back on.
DrKay remove the file ~/.fonts.conf (thanks SirSigma), I just did and everything is back in its antialiased beauty again :D
That worked to get antialiased fonts for certain application elements (like the menus, etc.) but it didn't work for getting them in rendered web pages. Weird.
Has anyone successfully gotten antialiased fonts for web pages content? I have the DejaVu family set as my fonts with pages not allowed to choose their own fonts.
I should add that antialiasing works fine in Chromium!
Zorael, 31/10/09, this works -- note filename INCludes the dot, ie. "~/.fonts.conf" -- Zorael's post one time includes it, one time omits it.
Trial and error with exactly how to combine the settings. For me:
anti-aliasing=false
autohint=false
hinting=true
hintstyle=hintfull
When you've changed a setting, a second or two later, you'll notice some applications re-render with the new settings.
Without being able to do a side-by-side comparison, this now looks just like Windows with ClearType turned off. Except not brilliant in Terminal. F/fox, Rythmbox, and TextPad, a Wine/Windows text editor, all brilliantly crisp.
You need to restart F/fox for the settings to take effect across the board, eg. in menus & address bar; or just F5/refresh your web page for the document window to pick up the new settings, if it hasn't already.
Cloink.