WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
251009
InlineTextBoxes containing Zero Width Joiner, Zero Width Non-Joiner , or Zero Width No-Break Space must not use simplified text measuring
https://bugs.webkit.org/show_bug.cgi?id=251009
Summary
InlineTextBoxes containing Zero Width Joiner, Zero Width Non-Joiner , or Ze...
Vitaly Dyackhov
Reported
2023-01-23 06:38:57 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Vitaly Dyackhov
Comment 1
2023-01-23 06:46:58 PST
Pull request:
https://github.com/WebKit/WebKit/pull/8973
Radar WebKit Bug Importer
Comment 2
2023-01-30 06:39:16 PST
<
rdar://problem/104819130
>
EWS
Comment 3
2023-01-31 01:53:20 PST
Committed
259618@main
(f7b4df2d3a2c): <
https://commits.webkit.org/259618@main
> Reviewed commits have been landed. Closing PR #8973 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug