Bug 147859

Summary: [Cocoa] GlyphPage::fill() erroneously combines codepoints
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Myles C. Maxfield
Reported 2015-08-10 19:12:53 PDT
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.
Attachments
Myles C. Maxfield
Comment 1 2015-08-17 21:55:57 PDT
*** This bug has been marked as a duplicate of bug 147920 ***
Note You need to log in before you can comment on or make changes to this bug.