You are not logged in.
I run GNOME and have my font settings set to enable subpixel smoothing and full hinting, so this is how my fonts look in most applications:
http://img441.imageshack.us/img441/9720 … shotzb.png
Firefox's interface (and many of its pages), however, looks like this:
http://img576.imageshack.us/img576/7715 … hot2qk.png
This remains the case even after I replaced the standard firefox package with firefox-pgo, and followed this guide to configure my fonts.conf (which was empty before):
http://linuxtidbits.wordpress.com/2008/ … rendering/
How can I fix this and make firefox's fonts consistent with the system fonts?
Last edited by hksmoothie (2010-12-16 08:20:57)
Offline
I usually install the ttf-liberation fonts and force firefox to use those.
Registered Linux User #402088
Offline
Definitely go into Firefox settings and pick fonts you like. Also disable all bitmap fonts using the instructions in the font configuration part of the Arch wiki.
Offline
Changing the Firefox fonts doesn't seem to do anything – any text under a certain size (on some sites) still looks the same.
If it means anything, zooming in on the page (Ctrl + +) eventually yields fonts that look smooth, but again, only with large text.
Offline
<match>
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans</string>
<string>Droid Sans</string>
</edit>
</match>
<match>
<test name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Serif</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Droid Sans Mono</string>
<string>DejaVu Sans Mono</string>
</edit>
</match>
append any font you like (without bitmapfont) at higher position in a family.
hope it helps
Offline
Where should I put that? I placed it near the top of my ~/.fonts.conf file, but I see no difference after restarting Firefox.
Offline
<match> <test name="family"><string>sans-serif</string></test> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Sans</string> <string>Droid Sans</string> </edit> </match> <match> <test name="family"><string>serif</string></test> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Serif</string> </edit> </match> <match target="pattern" name="family"> <test name="family" qual="any"> <string>monospace</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Droid Sans Mono</string> <string>DejaVu Sans Mono</string> </edit> </match>
append any font you like (without bitmapfont) at higher position in a family.
hope it helps
Nevermind. I added what you gave me to the end of my ~/.fonts.conf instead of the beginning, and now it's fixed! Thank you!
Offline
hksmoothie: your fonts look very nice in the first screenshot, could you post your fonts.conf(including the firefox part)?
Offline
hksmoothie: your fonts look very nice in the first screenshot, could you post your fonts.conf(including the firefox part)?
Sure thing. Here it is:
http://pastebin.com/ahWEdpDt
Although, I believe the appearance is mostly due to just installing the Ubuntu patched packages listed here:
https://wiki.archlinux.org/index.php/Fo … d_packages
Offline
KlavKalashj wrote:hksmoothie: your fonts look very nice in the first screenshot, could you post your fonts.conf(including the firefox part)?
Sure thing. Here it is:
http://pastebin.com/ahWEdpDtAlthough, I believe the appearance is mostly due to just installing the Ubuntu patched packages listed here:
https://wiki.archlinux.org/index.php/Fo … d_packages
Thanks. Yeah, I looked into the guide you linked to and installed those packages, and only that made a nice difference, I just want to try different configs, especially from people who knows what they are doing. I don't
Offline