Best Fonts for Linux Browsers?
BladeMelbourne asks: "As a web developer with a healthy love of Linux, I was wondering which fonts look great in Linux web browsers (particularly Mozilla/Netscape). Using 'Arial,Helvetica,sans-serif' just doesn't look nice.
Do different distro's have different fonts? Which fonts resemble Arial/Helvetica? Which fonts are anti-aliased?
Speaking of anti-aliased, does anyone know concisely how to get AA fonts with Mozilla on RedHat 8.0? I have my TTFs working, but don't seem to display correcly and look rather ugly on my display."
... and courier. After 2 yrs of experiments I found them to make the best combination.
You say you are a web developer, so please pick those fonts out for yourself and just for yourself. Don't pick fonts for me, I like the ones I already have thanks.
I always use Konqueror with Bitstream Charter, Bitstream Courier, Adobe Times and Adobe Helvetica.
/etc/fonts/fonts.conf to turn off hinting on the Bitstream fonts.
In addition, I've found that my eyes are accustomed to having fonts with smaller spaces and no hinting, so with Xft1 I compiled with the xft-quality patch from Keith Packard, and for Xft2 I compile with the spacing part applied and then manually set
Microsoft Verdana & Tahoma fonts. They common fonts for MS systems, and work under linux if you install the fonts. It's really hard to tell the difference between sites using IE on Windows and Mozilla on Linux with these fonts installed.
I typically use "Verdana, Arial, Helvetica" or "Tahoma, Arial, Helvetica"
The easist way to get Mozilla to use rpms that had support for XFT (AA Fonts). for 1.2.1 http://ftp.mozilla.org/pub/mozilla/releases/mozill a1.2.1/Red_Hat_8x_RPMS/xft/
Of course, you could always download the source and compile it with --enable-xft. :)
As for my own pref, I like Luxi Sans. AA support looks great on mine, and even the menus use the default font. Nice when you are running 1600x1200+!
Utopia
mkdir moz1.3/ Red_Hat_8x_RPMS/xft/RPMS/i386
cd moz1.3
lftp ftp.mozilla.org:/pub/mozilla/releases/mozilla1.3a
mget *
[close mozilla]
rpm -Uvh *
You now have a beautiful browser.
This has been on ./ very recently. In addition to downloading the ttf mozilla rpm for RH8.0, you also need to "build" and install the MS core font set for the web from corefonts.sourceforge.net.
I did the following to enable antialiased fonts in Mozilla - I didn't compile my own Mozilla, but I do tend to use recent nightlies:
I had the libfreetype6 Debian package installed.
I made made my own font directory and copied the *.ttf files that I needed to it, because one of my more esoteric fonts would cause Mozilla to crash.
In the end I gave up on anti-aliased fonts because they gave me a headache unless I made them much bigger than I'm used to with my normal "crisp" X11 fonts.
#exclude <ms/windows.h>
I've been using face="Verdana,Arial,Helvetica" size=-1 for a few years, and that seems to work right in the default install of all the computers I use. (My school's sun lab included.) Arial looks really bad in Mozilla on linux.
Also, do yourself a favor and use CSS. I use this, which also displays text at the right size on Macs (which like to make fonts smaller when browsing the web):
P { font: 11px Verdana,Arial,Helvetica }
I can't say much for what the "right way" to do this is without offending those folks who believe the web should not have any markup for design.