[Webkit-unassigned] [Bug 51106] [Qt] Implement the fast font path for Qt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 21 09:09:52 PDT 2011


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





--- Comment #13 from Simon Hausmann <hausmann at webkit.org>  2011-03-21 09:09:51 PST ---
(From update of attachment 86213)
View in context: https://bugs.webkit.org/attachment.cgi?id=86213&action=review

> Source/WebCore/platform/graphics/qt/GlyphPageTreeNodeQt.cpp:67
> +    for (unsigned i = 0; i < length; ++i) {
> +        Glyph glyph = getGlyphForCharacterAndFont(qstring.at(i), font);

Wouldn't it be nice to get the glyphs for the page in one shot, instead of creating a QTextLayout (that'll heap alloc in the impl) for each character? :)

-- 
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