Font.alias-list

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

The move to Cairo/Thebes revealed some shortcomings in Cairo’s text rendering; for example, in some situations, the wrong font would be picked for certain elements. The root cause of this was how invalid or absent font families were handled.

To address this issue, Mozilla now tries to resolve certain font families to installed fonts’ aliases and caches the result. This preference keeps track of which font families get this treatment.

Possible values and their effects

A string containing a comma-separated list of font names. Default value is sans,sans-serif,serif,monospace.

Caveats

  • This preference currently affects Cairo builds only.

First checked in

2006-11-20 by Masayuki Nakano

Has an effect in

  • Mozilla Firefox (Cairo trunk builds after 2006-11-20)
  • SeaMonkey (Cairo trunk builds after 2006-11-20)

Related bugs