Update: Thanks for the comments and visits, everyone!

For those of you seeing strange and unreasonably large font sizes in Firefox 3 on Ubuntu 8.04, try setting the “layout.css.dpi” (via about:config) to 72 or 96. Either of those values should set all fonts to a reasonable size.

Ubuntu Forums, via tumblr.wolffmyren.com

13 Responses to “Firefox 3 / Ubuntu 8.04 - Large Fonts Fix”

  1. Steph Says:

    Thanks! This fixed it

  2. willwm Says:

    Glad to hear it! =)

  3. Rob Says:

    Thank you so much for this, fixed my problem straight away! I just set the dpi to 96 like my system is set to and worked a treat.

    Thanks!

  4. Alan Daveline’s Blog About Everything » Ubuntu/Firefox 3 Huge CSS Font Fix Says:

    [...] Reference http://blog.wolffmyren.com/2008/04/26/firefox-3-ubuntu-804-large-fonts-fix/ [...]

  5. Tim 'avatar' Bartel Says:

    Finally… you saved my day.

  6. Linux User Says:

    this worked great! thanks again!!!

  7. willwm Says:

    Thanks everyone! =)

  8. Marius Pana » Ubuntu 8.04, Firefox 3 and Large fonts Says:

    [...] to this post for the [...]

  9. HojPoj Says:

    This solution did not solve my problem!

    Er, well, it might but for some reason I am unable to change the value. The number is automatically set at “-1″ and no matter what integer I change it to, positive or negative, it reverts straight-away back to -1.

    Please help. The fonts only appear large on some sites, usually the header.

    I also have a problem that, on log-in, the characters are so huge they’re bigger than the login and password box.

  10. HojPoj Says:

    Actually this did fix it. Thanks a lot!
    I didn’t realize all other tabs had to be closed.
    Also, on mine it looks better set to 120; I’m using a 24″ HDTV as my monitor.

    I still have the problem of super-huge fonts at the login screen. Any suggestions?
    I’m running Ubuntu 8.04.

  11. rick Says:

    TONS of thanks for this tip

  12. willwm Says:

    Thank you all again for your comments on this post!

    @HojPoj - I had that problem too with the huge fonts on the login screen, but only at pretty high resolutions (I think Ubuntu is assuming that it’s compensating for super-tiny fonts on a tiny high-res screen). Which resolution are you seeing these huge fonts at?

  13. willwm Says:

    @HojPoj: Oh, I just thought of something; did you check the Gnome Appearance Properties, under the Font section? There should be an option to change your X server DPI there…

Leave a Reply