Closed
Bug 1408366
Opened 8 years ago
Closed 8 years ago
U+034F COMBINING GRAPHEME JOINER breaks shaping in some fonts
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: khaled, Assigned: jfkthame)
References
Details
Attachments
(3 files)
It seems that if a font lacks a glyph for U+034F COMBINING GRAPHEME JOINER, Firefox will fallback to a different font and break shaping, but this fallback is unnecessary since HarfBuzz will deal with it just fine.
Test case:
data:text/html;charset=utf8,<p style="font: 100pt Amiri">ىٕ͏ِد</p>
The fonts tab in the developer tools shows that Amiri and another font are used.
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
See Also: → https://github.com/w3c/alreq/issues/147
| Assignee | ||
Comment 2•8 years ago
|
||
Makes sense; we already deal with certain other control characters in this way, allowing them in the run regardless of whether the font explicitly supports them. We should just treat CGJ the same.
| Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8918301 -
Flags: review?(jmuizelaar)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Updated•8 years ago
|
Attachment #8918301 -
Flags: review?(jmuizelaar) → review+
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b6f55f929971
Unicode combining grapheme joiner (U+034F) should not break the font run. r=jrmuizel
Comment 5•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•