Bug 230593

Summary: [LFC][Integration] Lack of final text measuring produce incorrect gaps between glyphs when kerning is on
Product: WebKit Reporter: alan <zalan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

alan
Reported 2021-09-21 19:32:07 PDT
When we measure text in IFC (inherited from SLL) we include the space at the end and simply subtract its width when needed. This does not work well when the content spans across multiple inline boxes.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-09-28 19:33:18 PDT
alan
Comment 2 2021-10-13 18:51:56 PDT
*** Bug 231693 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 3 2025-12-31 01:38:17 PST
Blink updated the test to use Ahem - might be for their layout work as well - https://chromium.googlesource.com/chromium/src.git/+/1f6ae2ebd07a1d8186ce9a5e6da0550427374e0e (Fix fast/block/positioning/056.html not to rely on glyph widths).
Ahmad Saleem
Comment 4 2025-12-31 01:39:39 PST
https://chromium.googlesource.com/chromium/src.git/+/da4961dd262f4e7c6b3778e31bb4c2cd05644220 <- they disabled kerning from another one of test - so it might be same for `fast/inline/kerning-across-inline-boxes.html`. # needs support in IFC webkit.org/b/230593 fast/inline/kerning-across-inline-boxes.html [ Skip ] webkit.org/b/230593 fast/block/positioning/056.html [ Failure ] ^ talking about this from TestExpectation.
Note You need to log in before you can comment on or make changes to this bug.