[Webkit-unassigned] [Bug 41091] [GTK] Fails to apply web fonts in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 8 04:31:19 PDT 2010


--- Comment #6 from Andrei Bucur <abucur at adobe.com>  2010-09-08 04:31:19 PST ---
As I said, the problem is with this code snippet in FontCache:
fontDescription.genericFamily() != FontDescription::NoFamily

In the test case I specify the generic family "monospace" so FontDescription.genericFamily() will not return FontDescription::NoFamily.
If someone could explain what's the use of the generic family field in that structure it would be great. I can see that WebKit already injects artificial families called "-webkit-X" (with X monospace, sans etc.) that can be used by the fallback mechanism. Why should we care about what fontDescription.genericFamily() returns?

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