[Webkit-unassigned] [Bug 147859] New: [Cocoa] GlyphPage::fill() erroneously combines codepoints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 10 19:12:53 PDT 2015


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

            Bug ID: 147859
           Summary: [Cocoa] GlyphPage::fill() erroneously combines
                    codepoints
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mmaxfield at apple.com

Inside GlyphPage::fill(), we create a string from a collection of codepoints in order to know if a particular font supports those codepoints. However, a string is fundamentally a different beast than an ordered collection of codepoints, because adjacent codepoints in a string are combined to form grapheme clusters. Therefore, this entire approach is incorrect.

Luckily, we already have another approach. We just need to migrate to it in all cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150811/0a6742eb/attachment.html>


More information about the webkit-unassigned mailing list