It was too annoying that i was not getting Deja Vu Sans Condensed font for firefox itself, whereas this font is working with other applications in Gnome. I was getting Sans font instead in Firefox. After gooooogling (too long) i got a workaround for this.

Just add this lines to userChrome.css (create a new file if it is not there), create this file in ~/.mozilla/firefox/(profile)/chrome folder.

* {

font-family: “Deja Vu Sans Condensed”;

}

Before:

firefox sans screenshot

Firefox with Sans Font - Looks Ugly

After:

firefox deja vu font bug fixed

Firefox with Deja Vu Font Working - Looks Good

I love this font :)

For storyline please read this : http://www.jasonlefkowitz.net/blog1archive/2007/02/howto_pretty_up.html

2 Comments

  1. Sweeet! Works like a charm. Now my Firefox isn’t out of place anymore.

    If only we can fix OOo to use DejaVu Sans Condensed…

  2. Hi,
    I solved it moving DejaVuSans.ttf and DejaVuSans-*.ttf in a directory that isn’t scanned by fc-cache. Now it works! But I think your workaround is better.
    Bye from Italy… and sorry for my english ;-)


Post a Comment