Bug 250264 - The width of U+001B is different in the fast and complex text codepaths
Summary: The width of U+001B is different in the fast and complex text codepaths
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-07 01:22 PST by Myles C. Maxfield
Modified: 2023-01-09 09:43 PST (History)
2 users (show)

See Also:


Attachments
Test (137 bytes, text/html)
2023-01-07 01:22 PST, Myles C. Maxfield
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.