Bug 251318

Summary: [IFC] Incorrect run width when kerning (and ligature) is present
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=220548

zalan
Reported 2023-01-28 07:52:22 PST
When soft wrap opportunity is present between non-whitespace characters, we split them up and measure them individually. However we later join them together when they end up on the same line. At this point we should re-measure these adjoining runs to account for kerning (and ligature). This mismatching in the total width of the run may produce incorrect behavior when painting (e.g. selection hairline gap see bug 220548)
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-04 07:53:18 PST
Note You need to log in before you can comment on or make changes to this bug.