[Webkit-unassigned] [Bug 42437] New: white-space: pre text containing tabs is not laid out correctly when the font lacks a space glyph

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 15 18:32:22 PDT 2010


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

           Summary: white-space: pre text containing tabs is not laid out
                    correctly when the font lacks a space glyph
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org


Tab width calculation in WidthIterator and ComplexTextController uses Font::tabWidth(), which is based on Font::spaceWidth(). When the specified font lacks a space glyph, spaceWidth() will be 0 or otherwise wrong. Instead, the width of the space glyph from the fallback font should be used.

Patch forthcoming.

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