Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

Why do the fonts in Firefox Linux look so terrible?

Dave, Why is it that, "out of the box", the Firefox browser looks great (font wise) when run on a Windows OS but looks terrible (almost too small and unreadable) on any Linux OS I have tried it on. It is probably the number one killer reason for me not switching to Linux.


Dave's Answer:

At a standard screen resolution of 72 dots per inch, any small typeface is going to look pretty mediocre, and I know what you mean about Linux defaulting to a really high resolution for a given screen, which produces tiny type.

However, it turns out that it's pretty easy to change your desktop to have larger typefaces, or even to tweak Firefox to look better. The easiest way to have larger type across your entire Linux experience is to simply pick a smaller screen resolution. If you're at 1280x1024, for example, change it to 1024x768 and watch how everything gets a bit bigger and easier to read. Depending on your desktop and window manager, you might also be able to pick a different theme that has larger fonts too.

Within Firefox itself, you can change Firefox font settings from the Edit -> Preferences menu item (pick General, and click on "Fonts & Colors"). Pick a larger font, reload the page, and see how it looks. Of ocurse, you can also just use the key combination Ctrl-+ (the Control key and the + symbol at the same time) to make all the type on a Web page larger. I use that extensively when I browse the Web too, actually.

Hopefully those tips will help you out and let you give Linux another shot. I did ask a couple of Linux wizards, Dee-Ann LeBlanc and Ray Lischner, about this problem and they reported excellent results with Firefox on Suse Linux, Fedora and RHEL.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

I personally cheat...err....I mean, I install the Microsoft core web fonts (Verdana/Georgia) on Linux, and set the default proportional font to Verdana (even serif). The Times/Serif version that comes with Fedora isn't very easy on my eyes, and I prefer sans-serif font for the screen anyway.

Everything you need for installing Microsoft fonts on a Linux box is here:

http://corefonts.sourceforge.net/

Posted by: Stewart Vardaman at January 27, 2005 12:30 AM

If you choose "other" for the font size, you get a dialog with a horizontal line. Meaure the line and enter the length in decimal notation, so if (for example) the line is 1 9/16 inches, you would enter 1.5625 and select inches, then click OK. Your choices are inches or centimeter.

To the right of display resolution in the Fonts and Colors dialog there is an option to set the minimum font size.

Posted by: Ernie N. Wilcox, Jr. at January 27, 2005 1:21 PM

Dave had some good information, but I believe he missed the point of the question. I had the same problem with all Mozilla and Netscape browsers. The problem is not in the User changeable fonts but those in the hard-coded areas of the menus and the URL addr box. I solved the problem by using Gnome instead of KDE. KDE does not seem to properly display Mozilla windows. I'm not an expert, but KDE does pretty well with all other windows, but there seems to be a problem or at least a font shrinkage with Mozilla browsers. KDE is a little too much like Windows for my taste, so the change to Gnome was a good solution for me towards a plainer and more easily read display anyway.
--Richard

Posted by: Richard Kircher at January 27, 2005 4:15 PM

Good tip, Richard. I lean towards GNOME over KDE anyway. :-)

Posted by: Dave Taylor at January 27, 2005 4:18 PM

The problem is that the form fonts are too small by default. There are several places you can adjust these.
First, look for the userChrome.css file (usually under ~/.mozilla/firefox/yourprofile/chrome). There is an example file there which you can save as userChrome.css. Add this section:
---clip
* {
font-size: 7pt !important;
font-family: Tahoma !important;
}
---clip
and adjust the font and size as necessary.
Second, in the userContent.css, add the following entry:
---clip
input, textarea, select, button,
input[type="button"], input[type="reset"], input[type="submit"] {
font-size: 8pt !important;
font-family: Verdana !important;
}
---clip
and adjust the font and size to your liking.
Oh, and please, changing your gui to fix fonts in one application is like trading in your car because you ran out of gas.
I Hope this fix helps. And, I cannot take credit for this fix, it is posted on the page http://convexhull.com/mandrake_fonts.html by a very helpful Mandrake user named Noel Llopis. (Thanks to him.)

Donn

Posted by: Donn Shumway at January 31, 2005 4:54 PM

Great stuff, Donn, and yes, changing your entire GUI because one app looks crummy is a bit daft, but the original question referred to "all apps being too small", hence my suggestion.

Posted by: Dave Taylor at January 31, 2005 6:41 PM

Another good global font solution is to set your actual 'Usable' screen size in your XF86Config or xorg.conf file. Measure your usable screen size in millimeters (Width then Height). Now In the Monitor Section, under the specific Monitor you are using (you can have more than one), add a line that says:
---clip
DisplaySize 360 270
---clip
and replace your actual measurements (remember, in millimeters). Now restart X. You may have to adjust all your fonts again, but now the X server is rendering your fonts based on the actual size of the monitor. Some distros don't do this well on Install. If you don't like what it did, you can comment out this line and restart X and you will be back where you started.

Donn

Posted by: Donn Shumway at January 31, 2005 8:02 PM

Following Richard Kircher's line of thought, the answer to this question can be found at:

http://ubuntuforums.org/showthread.php?t=22232

Posted by: Christefano at October 26, 2005 2:41 PM

Dave I also think you may have missed the point. I set my resolution to the exact same specs on linux as on windows, so that can't be the issue.

Out of the box, linux turns people off. The fonts on LCD monitors especially are extremely blurry/crooked, with the exact same resolution settings as on Windows.

Programs that use GTK are bad. QT is better but still not clear like Windows.

Until these basic issues in linux are fixed, not many people will take it seriously as a desktop operating system.

The other issue I noticed immediately when using firefox on Linux is that the downloads suck up all the bandwidth. On Windows i can download a huge file and browse the internet at the same time. On linux the download sucks up all the bandwidth and I cannot browse the internet at even turtle pace.

I know these issues can be fixed by going into certain config files and maybe even recompiling the kernel (laughing out loud) but the fact is that out of the box linux is not good for a desktop right now. It's okay, but it isn't good. It's definitely not great.

Don't get me wrong - I use linux and bsd every day myself on my local servers and public web servers. But I'd like to see these issues for the desktop cleaned up with linux. It doesn't matter whether we can go into config files and fix these issues - what matters is what works out of the box - because people are lazy, even ambitious programmers who know what they are doing like to have a working, clean, and clear system out of the box.

Posted by: L505 at December 13, 2006 12:40 PM

Christefano is right. By simply enabling the mapping between gtk and qt things can really get cleaned up.
For Gentoo users this is the gtk-engines-qt package.

~quickshiftin`

Posted by: quickshiftin at February 5, 2007 7:53 PM

Reduce the screen resolution! That's just daft, man...

Posted by: harri at September 10, 2007 3:32 PM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]