Talk:Issues related to fonts: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(recently encountered issues, need to be properly explained)
 
(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)

Latest revision as of 00:18, 6 June 2013

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)