Closed Bug 1564317 Opened 6 years ago Closed 6 years ago

Bad font rendering with automatic hyphenation and ligature [was: kerning]

Categories

(Core :: Layout: Text and Fonts, defect)

67 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 479829

People

(Reporter: bugzzilla, Unassigned)

Details

Attachments

(2 files)

Attached image kerning1.png

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.

Attached image kerning2.png
Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

I can reproduce the issue on Nightly69.0a1(en-US) Windows10 with/without WebRender. (set intl.accept_languages to "de-de,en-us,en")

Status: UNCONFIRMED → NEW
Ever confirmed: true

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.)

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Summary: Bad font rendering with automatic hyphenation and kerning → Bad font rendering with automatic hyphenation and ligature [was: kerning]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: