You are not logged in.

#1 2010-02-28 07:57:36

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

[SOLVED] firefox font rendering issue

I don't know why, but for some time Firefox is not rendering my fonts correctly for arstechnica.com (and maybe other sites, I'm not sure). Here are some screenshots:

Firefox:
tM290Zw

Opera:
tM290aA
Midori:
tM290aQ

I know opera and midori use different rendering engines, but this is how the site looked on firefox too. And, as I already told you, this only happens with arstechnica.com as far as I can tell.


Any ideas?

Later edit: I just found that the 2010 olympics site looks the same for me... UGLY! neutral

Last edited by RaisedFist (2010-03-01 08:26:17)

Offline

#2 2010-02-28 10:16:02

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] firefox font rendering issue

Have you played around with the fontconfig rules (i.e. /etc/fonts/ and/or ~/.fonts.conf)?

Are you compiling firefox with --enable-system-cairo?

In firefox, go to about:config and see if you've made any, er, "weird" changes hmm

Last edited by brebs (2010-02-28 10:17:24)

Offline

#3 2010-03-01 08:26:02

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: [SOLVED] firefox font rendering issue

Looks like it was some setting. I created a new profile and it works fine. I think some of the add-ons did this, but I can't tell which...

Offline

#4 2010-06-25 23:15:44

becatlibra
Member
Registered: 2010-06-25
Posts: 61

Re: [SOLVED] firefox font rendering issue

I am having this same issue.  For me some pages render well in say Opera or Chrome however not in FIrefox.  For instance:

http://kb.liquidweb.com

In firefox the fonts look very blocky however not in other browsers.  On other distros (such as Ubuntu, CentOS or Debian) I am able to see things clearly in Firefox.

Not sure where to begin looking - any help would be appreciated

Offline

#5 2010-06-25 23:30:42

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] firefox font rendering issue

Check your .fonts.conf:

http://wiki.archlinux.org/index.php/Font_Configuration

Also make sure some fonts are installed:

pacman -S ttf-ms-fonts ttf-dejavu ttf-bitstream-vera

Last edited by anonymous_user (2010-06-25 23:30:52)

Offline

#6 2010-07-02 23:28:44

becatlibra
Member
Registered: 2010-06-25
Posts: 61

Re: [SOLVED] firefox font rendering issue

I already had those fonts installed.

I added sub-pixel rendering and anti-aliasing by doing the following (from the link you provided)

  mkdir ~/.fonts.conf.d
  ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf ~/.fonts.conf.d

Then creating a .fonts.conf file and putting the following into it

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <match target="font">
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
  </match>


</fontconfig>


Still I cannot render some pages correct with firefox (such as http://kb.liquidweb.com) which do render correctly in other browsers.  Please help

Offline

#7 2010-07-02 23:52:49

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] firefox font rendering issue

Show the fonts used (not a perfect command, but it helps):

lsof | grep -i firefox | egrep -i 'ttf|pfb'

Offline

#8 2010-07-03 13:47:56

becatlibra
Member
Registered: 2010-06-25
Posts: 61

Re: [SOLVED] firefox font rendering issue

Here is the list given by your command:

firefox    5762 benito  mem       REG        8,1    524056    5324845 /usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf
firefox    5762 benito  mem       REG        8,1    573136    5324855 /usr/share/fonts/TTF/DejaVuSans-Bold.ttf
firefox    5762 benito  mem       REG        8,1    523804    5324843 /usr/share/fonts/TTF/DejaVuSans-Oblique.ttf
firefox    5762 benito  mem       REG        8,1    622280    5324842 /usr/share/fonts/TTF/DejaVuSans.ttf
firefox    5762 benito  mem       REG        8,1    126796    5324829 /usr/share/fonts/TTF/trebuc.ttf

I tried applying the LCD patches however the build script for Cairo contains a reference to a version that currently is not downloadable.  I am going to work on this a bit and see if i can't get the build script running.

Once thing I am unsure of though . . . will I need to restart X in order for the changes to take?  Using wmii currently

Offline

#9 2010-07-03 14:00:49

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] firefox font rendering issue

@becatlibra - what font settings do you use in Firefox? On my system, visiting the http://kb.liquidweb.com site and running the command also shows me that its using Arial, Verdana, and Trebuchet.

Secondly, could you post a screenshot of what you're seeing?

Offline

#10 2010-07-03 14:50:10

becatlibra
Member
Registered: 2010-06-25
Posts: 61

Re: [SOLVED] firefox font rendering issue

Screenshot:
http://media.apocalypticfail.com/badfonts.png

I have tried many different settings for firefox fonts

I have tried sans: arial, dejavusans
                     serif: times new roman, dejavu serif, veranda

Unchecking the option to allow pages to choose their own fonts, fixes the issue.  However that makes little sense since this loads fine for others (and did for me before switching to arch)

Offline

#11 2010-07-03 14:58:43

becatlibra
Member
Registered: 2010-06-25
Posts: 61

Re: [SOLVED] firefox font rendering issue

Well I finally got this resolved.  I disabled bitmap fonts

http://wiki.archlinux.org/index.php/Fon … tmap_fonts

And now it renders correctly

Now if I can only figure out why midori stopped working entirely I'll be all set

Offline

Board footer

Powered by FluxBB