MozillaZine

Talk:Issues related to fonts

From MozillaZine Knowledge Base

Two more issues worth mentioning:

  • On Windows, the DirectWrite fonts (enabled with hardware acceleration) increase the line spacing [1] and can also affect the dialog window size being too small [2]. Switching off Direct2D with gfx.direct2d.disabled and restarting resolves those issues. DirectWrite fonts can be enforced even without Direct2D support by toggling gfx.font_rendering.directwrite.enabled.
There were a couple of more preferences defined with Gecko 6.0, providing more control over the interaction between Direct2D and ClearType rendering on Windows platforms with hardware acceleration; those were documented here for Thunderbird.
  • Downloadable fonts are used sometimes by websites to present site-specific icons as "text" by using a specific "character" for their icon. Switching off gfx.downloadable_fonts.enabled or when the fonts aren't available (or just slow to load), this leads to a fall-back to a different font which may look like gibberish in the displayed page (maybe add that to the first section on hex-code boxes?).

--Rsx11m 23:58, 5 June 2013 (UTC)

There is also a preference gfx.downloadable_fonts.fallback_delay which could be increased for slow lines to avoid falling back to local fonts, however at the cost of a potentially higher page-loading time.
--Rsx11m 00:18, 6 June 2013 (UTC)