Bug 251318
Summary: | [IFC] Incorrect run width when kerning (and ligature) is present | ||
---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> |
Component: | Layout and Rendering | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105041199>