Default to Liberation Fonts, if available




CSS Parsing and Computation
10 years ago
4 years ago


(Reporter: kami petersen, Unassigned)


Firefox Tracking Flags

(Not tracked)




10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv: Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv: Gecko/2008070208 Firefox/3.0.1

Let Mozilla show the way ahead, by supporting a welcome initiative to resolving many font problems. Liberation fonts are an alost exact match to the usual default fonts. Simply make the installation check for the presence of these free as in free speech fonts and give them preference, instead of Times, Arial and Courier or such. I'm not proposing to bundle them, just favour them.

Reproducible: Always

Steps to Reproduce:
Component: OS Integration → Style System (CSS)
Product: Firefox → Core
QA Contact: os.integration → style-system
On what platforms and for what language groups?  Note that on some platforms font handling may be significantly faster when the first choice font is available, so it's good if the first choice font is one that's generally installed on the system.

(It seems plausible to me to want this on Linux, if these fonts are shipping with distros, but I'm pretty skeptical about for other platforms.)

Comment 2

10 years ago
@dbaron: As indicated, all platforms, but only check for presence at install time. It's more about an open source position than a practicality. I'm not going to expand on the merits of open source vs proprietary formats. If Liberation Fons aren't available on the users windows system, (they might be, many people install huge font packs without thinking) then let installer use available proprietary fonts. They've been developed for Red Hat, and this is what they have to say: 

"Once you have installed these fonts, we encourage you to make them your default in Thunderbird, Firefox, and Open Office. Heck, for that matter make them your default in Microsoft® Office®, in Microsoft Windows®, in Apple OSX®... in anything you would like. In many applications you can set Times New Roman, Arial, and Courier New to convert to these fonts."


I don't know what language groups are but according to my font editor the following codepages are included: 437, 737, 775, 850, 852, 855, 857, 860, 861, 863, 865, 866, 869, 1250, 1251, 1252, 1253, 1254, 1257, the Macintosh Character Set (US Roman), and the Windows OEM character set. (Basically all latin and cyrillic variants)

Background info:

This doesn't seem like a style system issue...  Should this live over in Firefox or installer land?

Comment 4

4 years ago
Linux distros have font aliases like "sans-serif", "serif" and "monospace" that map to whatever that distribution considers most appropriate.

Linux distros can modify whatever preferences they like in the versions of Firefox that they redistribute.

Liberation fonts are not included with Windows or Mac OS X. It would be an odd move to favor them over the ones supplied with the operating system.

(In reply to Boris Zbarsky [:bz] from comment #3)
> Should this live over in Firefox or installer land?

Core → Layout: Text? It's where other reports about changing the default fonts were filed, like bug 998777.
You need to log in before you can comment on or make changes to this bug.