[Webkit-unassigned] [Bug 35569] New: [Qt] Avoid calling QFont::detach too often from FontQt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 02:32:28 PST 2010


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

           Summary: [Qt] Avoid calling QFont::detach too often from FontQt
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zecke at selfish.org


Currently the QFont Font::font() method tries to apply the wordspacing and
letterspacing set on the font. This value is not stored in the FontPlatformData
and must be set on the QFont each time, also we try to have the actual font
data not in WebCore::Font.

This creates at least one issue: We have to apply the word and letter spacing
each time which will always certainly end up in a call to QFont::detach. One
solution would be to put a QFont into the WebCore::Font but this is a against
the separation we try to achieve with the FontPlatformData. Another one is to
not call these functions if we have the default letter and wordspacing.

This is giving us a small improvement on the text classes.

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