[Webkit-unassigned] [Bug 24468] Big performance improvement to FontQt.cpp and hence all text drawing and layouting in QtWebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 9 13:27:54 PDT 2009


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





------- Comment #1 from treat at kde.org  2009-03-09 13:27 PDT -------
...
The patches attached improve this situation by *never* detaching or recreating
a new QString for these operations on a TextRun.

The first patch is a patch to Qt itself that exposes two new methods in the
QFont class which allow an application to pass a substitution map to Qt's
underlying text engine.  I've only implemented the patch for the Freetype
engine in Qt, but other engines could/should be made to honor these
substitutions.

The second patch is a patch to FontQt.cpp in WebCore that utilizes the new API
in Qfont.

Together these two patches effectively eliminate the cost of the current method
of doing things in FontQt.cpp.

Cheers,
Adam


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