[Webkit-unassigned] [Bug 25961] New: wx port measures character widths incorrectly (Windows specific)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 22 07:13:43 PDT 2009


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

           Summary: wx port measures character widths incorrectly (Windows
                    specific)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: WebKit wx
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kevinwatters at gmail.com


The GetTextExtent function in platform/wx/wxcode/win/fontprops.cpp measures
font character widths incorrectly. Code copied from wx internals assumes that
you are measuring font strings of more then one character, and accounts for
overhang by subtracting values obtained from the GetCharABCWidths function.
This is incorrect for measuring the width of individual characters, like WebKit
asks for.


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