[Webkit-unassigned] [Bug 24469] New: 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:26:13 PDT 2009


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

           Summary: Big performance improvement to FontQt.cpp and hence all
                    text drawing and layouting in QtWebKit
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: treat at kde.org


Hi,

Currently the QtWebKit class FontQt.cpp is using a very expensive method to
effectively inform Qt's text engine that it should substitute glyphs for
particular unicode characters with another unicode character.  Right now
FontQt.cpp is reconstructing a QString based on a TextRun and then detaching
and memcpy'ing  whenever it encounters a character that should be treated
differently by Qt's text engine according to WebCore::Font::treatAsSpace and
WebCore::Font::treatAsZeroWidthSpace.

Profiling shows that this is one of the top ten most expensive methods in all
of QtWebKit right now.


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