[Webkit-unassigned] [Bug 140994] [GTK] Fonts loaded via @font-face look bad

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 18 14:25:17 PST 2015


--- Comment #13 from Michael Catanzaro <mcatanzaro at igalia.com> ---
So, from [1]:

* "By default, hinting is enabled and the font's native hinter (see FT_FACE_FLAG_HINTER) is preferred over the auto-hinter. You can disable hinting by setting FT_LOAD_NO_HINTING or change the precedence by setting FT_LOAD_FORCE_AUTOHINT. You can also set FT_LOAD_NO_AUTOHINT in case you don't want the auto-hinter to be used at all."

So sounds like we should use the native hinter (i.e. don't pass FT_LOAD_FORCE_AUTOHINT, i.e. don't change anything) unless we have a good reason not to (e.g. everything looks terrible without it).

* FT_FACE_FLAG_HINTER: "Set if the font driver has a hinting machine of its own. For example, with TrueType fonts, it makes sense to use data from the SFNT ‘gasp’ table only if the native TrueType hinting engine (with the bytecode interpreter) is available and active."

[1] http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150218/6bd0cb05/attachment-0002.html>

More information about the webkit-unassigned mailing list