Bug 250264

Summary: The width of U+001B is different in the fast and complex text codepaths
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test none

Description Myles C. Maxfield 2023-01-07 01:22:51 PST
Created attachment 464395 [details]
Test

.
Comment 1 Myles C. Maxfield 2023-01-07 01:30:45 PST
<rdar://problem/98660696>
Comment 2 Myles C. Maxfield 2023-01-07 01:45:37 PST
We can't just add a `u_charType(ch) == U_CONTROL_CHAR` stanza to ComplexTextController::adjustGlyphsAndAdvances(), because that iterates over glyphs, and Core Text doesn't give us a glyph for this character at all, so we don't encounter anything to fix up.
Comment 3 Myles C. Maxfield 2023-01-09 09:43:16 PST
After discussing with the Core Text team, we think we're going to focus on just deleting the complex text codepath (in favor of the fast text codepath), instead of trying to fix this bug in the complex text codepath.