[Webkit-unassigned] [Bug 251009] New: InlineTextBoxes containing Zero Width Joiner, Zero Width Non-Joiner , or Zero Width No-Break Space must not use simplified text measuring
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 23 06:38:57 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251009
Bug ID: 251009
Summary: InlineTextBoxes containing Zero Width Joiner, Zero
Width Non-Joiner , or Zero Width No-Break Space must
not use simplified text measuring
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Text
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vitaly at igalia.com
CC: mmaxfield at apple.com
When calculating the width of an InlineTexBox using simplified measuring, we simply sum up the width of every glyph. Some fonts (at least FreeType fonts) specify the non-zero width of `Zero Width Joiner`, `Zero Width Non-Joiner`, and `Zero Width No-Break Space`. Later, during the rendering, these glyphs are skipped causing the `InlineTextBox`es to become wider than they should be.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230123/e6f95028/attachment.htm>
More information about the webkit-unassigned
mailing list