Bug 309889
| Summary: | Broken rendering of a font with combining diacritics | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Terence Eden <webkit.org> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Minor | CC: | bfulgham, jensimmons, simon.fraser, zalan |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Other | ||
| OS: | Linux | ||
Terence Eden
Under some circumstances, diacritic combinators are not applied when using web fonts.
For example, on the page https://www.nationaltheatre.org.uk/artists/ronke-adekoluejo/ the name "Ronkẹ Adékọluẹ́jọ́" renders incorrectly.
Minimum viable demo at https://codepen.io/edent/pen/qEaRyrz
Actual results:
WebKit doesn't render the combined characters properly, but Chrome does.
The web font contains é (U+00E9) and both ́ (U+0301) & ̣ (U+0323).
But doesn't include ẹ (U+1EB9) or ọ (U+1ECD).
This means the following characters don't render well: ẹ ẹ́ ọ
I think this is caused by the font-weight: normal; CSS property.
Evidence of broken rendering on Mac: https://mastodon.laurakalbag.com/@laura/116221528157293755
And iOS: https://mikecoats.social/@mike/116221540057000518
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jen Simmons
It looks like this issue is being discussed here: https://bugs.webkit.org/show_bug.cgi?id=303066
*** This bug has been marked as a duplicate of bug 303066 ***