[webkit-reviews] review requested: [Bug 55036] [Qt] FontCache::createFontPlatformData() is broken, a default font is returned even if the family does not match : [Attachment 103862] fix using QFont::exactMatch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 13 11:15:26 PDT 2011


Andrew Wason <rectalogic at rectalogic.com> has asked  for review:
Bug 55036: [Qt] FontCache::createFontPlatformData() is broken, a default font
is returned even if the family does not match
https://bugs.webkit.org/show_bug.cgi?id=55036

Attachment 103862: fix using QFont::exactMatch
https://bugs.webkit.org/attachment.cgi?id=103862&action=review

------- Additional Comments from Andrew Wason <rectalogic at rectalogic.com>
I think my bug 66186 is a duplicate of this, I really need a fix that works
with Qt 4.7 for that.

Attached patch uses QFont::exactMatch() on the FontPlatformData::font() to
check if it is the font we asked for, and return 0 if not.


More information about the webkit-reviews mailing list