[Webkit-unassigned] [Bug 26120] Honor Desired Weight and Italic State for Fonts in Windows Cairo Build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 10:15:51 PDT 2009


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





------- Comment #6 from mitz at webkit.org  2009-06-19 10:15 PDT -------
(In reply to comment #5)
> The original reporter indicated that the changes to the matchImprovingEnumProc
> were done to help get exact matching once they added the BOLD/ITALIC state to
> the HFONT, since otherwise it iterates over every font structure proposed by
> GDI.

That’s the part of the change that I didn’t understand. While it’s true that
the current code iterates over all candidates, it still prefers the closest
match, including an exact match if there is one. The change looks like it may
be an optimization attempt (stop iterating if the best match is an exact
match), but I am not sure it’s warranted.


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



More information about the webkit-unassigned mailing list