MozillaZine

Talk:Issues related to fonts

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 23:58, 5 June 2013
Rsx11m (Talk | contribs)
(recently encountered issues, need to be properly explained)
<-- Previous diff
Current revision
Rsx11m (Talk | contribs)
(added some more information and pointers)
Line 1: Line 1:
Two more issues worth mentioning: Two more issues worth mentioning:
-* On Windows, the DirectWrite fonts (enabled with hardware acceleration) increase the line spacing [https://bugzilla.mozilla.org/show_bug.cgi?id=643781] and can also affect the dialog window size being too small [https://bugzilla.mozilla.org/show_bug.cgi?id=868495]. 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.+* On Windows, the DirectWrite fonts (enabled with hardware acceleration) increase the line spacing [https://bugzilla.mozilla.org/show_bug.cgi?id=643781] and can also affect the dialog window size being too small [https://bugzilla.mozilla.org/show_bug.cgi?id=868495]. 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]].
-* 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?).+:: 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 [[Thunderbird_6.0,_etc.#Font_rendering_and_performance_issues|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?).
--[[User:Rsx11m|Rsx11m]] 23:58, 5 June 2013 (UTC) --[[User:Rsx11m|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.
 +: --[[User:Rsx11m|Rsx11m]] 00:18, 6 June 2013 (UTC)

Current revision

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)