You are not logged in.

#1 2010-12-16 00:52:20

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

[SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

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

#2 2010-12-16 01:20:56

jimbok
Member
Registered: 2009-09-17
Posts: 51

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

I usually install the ttf-liberation fonts and force firefox to use those.


Registered Linux User #402088

Offline

#3 2010-12-16 02:11:49

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

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

#4 2010-12-16 03:34:38

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

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

#5 2010-12-16 05:36:37

hitsmaxft
Member
From: guangzhou
Registered: 2010-06-02
Posts: 13
Website

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

<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

#6 2010-12-16 05:43:01

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

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

#7 2010-12-16 08:19:09

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

hitsmaxft wrote:
<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

#8 2010-12-16 08:52:17

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

hksmoothie: your fonts look very nice in the first screenshot, could you post your fonts.conf(including the firefox part)?

Offline

#9 2010-12-16 09:05:01

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

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/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

#10 2010-12-16 09:10:24

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED] Firefox fonts STILL ugly even after -pgo & custom fonts.conf

hksmoothie wrote:
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/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

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 smile

Offline

Board footer

Powered by FluxBB