Closed Bug 1408366 Opened 2 years ago Closed 2 years ago
U+034F COMBINING GRAPHEME JOINER breaks shaping in some fonts
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.
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: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8918301 - Flags: review?(jmuizelaar) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/b6f55f929971 Unicode combining grapheme joiner (U+034F) should not break the font run. r=jrmuizel
You need to log in before you can comment on or make changes to this bug.