[Webkit-unassigned] [Bug 77437] freetype port: font fallback mechanism can try harder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 7 06:25:20 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77437





--- Comment #1 from Martin Jackson <mjackson220.list at gmail.com>  2012-02-07 06:25:20 PST ---
Created an attachment (id=125835)
 --> (https://bugs.webkit.org/attachment.cgi?id=125835&action=review)
Allow fontconfig to choose an appropriate font if all else fails

This patch allows the system to attempt to match the requested font if nothing
appropriate was found in the CSS font family list, using fontconfig. This will
only happen if none of the fonts specified in the CSS list could be used. This
is in accordance with the w3c rules:

http://www.w3.org/TR/css3-fonts/#font-matching-algorithm

"... If there are no more font families to be evaluated and no matching face has
been found, then the user agent performs a system font fallback procedure to
find the best match for the character to be rendered. The result of this
procedure may vary across user agents."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list