Bad font rendering with automatic hyphenation and ligature [was: kerning]
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: bugzzilla, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
There's cursive text, automatic hyphenation enabled and kerning between 2 "f".
Original page: https://atlas.arages.de/source/720
Actual results:
Part of the character before the hyphen is on the next line. It looks like the rendering algorithm has made a vertical (instead of slanted) cut in the text and inserted the hyphen in the cut. See attachment 1 [details] [diff] [review]. This also happens with a soft hyphen ("") at the same place.
Expected results:
The character before the hyphen should be completely on the first line, before the hyphen. Attachment 2 [details] [diff] shows the rendering with a hard hyphen inserted at the same place.
| Reporter | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
I can reproduce the issue on Nightly69.0a1(en-US) Windows10 with/without WebRender. (set intl.accept_languages to "de-de,en-us,en")
Comment 3•6 years ago
|
||
This is an example of bug 479829.
(To be strictly accurate, the font isn't kerning between the "ff" pair, it's forming a ligature. Kerning wouldn't cause this issue, because there would still be separate glyphs to paint each side of the line-break.)
Description
•