Closed Bug 1566542 Opened 5 years ago Closed 5 years ago

Hyphenation broken in FF 68

Categories

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

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1557291

People

(Reporter: photon89, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Here is a fiddle which demonstrates the issue: https://jsfiddle.net/yxpa26r7/

The issue does NOT appear with Firefox ESR 60.8, 61, 66, 67. It does appear with Firefox 68 (and Chromium 75 as well).

Actual results:

The fiddle's preview shows

Autob
ahn

Expected results:

The fiddle's preview should show

Auto-
bahn

It works for me in Nightly (70), Beta (69), but it indeed fails on release (68). I get on macOS

Autoba
hn
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Text and Fonts
Ever confirmed: true
Product: Firefox → Core

This was a result of bug 1550532, where we suppressed hyphenation for Capitalized words because they're likely to be proper names or similar, and hyphenation is often undesirable for them. German was supposed to be excluded from this rule, because unlike most languages, it capitalizes all nouns, so we do still want to be able to break them.

Unfortunately, there was a bug in the initial implementation of this, such that German might not be correctly excluded. That was fixed in bug 1557291, so this is a dupe of that bug.

I believe you could work around the bug in Firefox 68 by adding a boolean pref intl.hyphenate-capitalized.de : true in about:config, and then restarting the browser.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Cool, thanks for the explanation! Didn't realize that only capitalized words are affected but now that you are saying it, it fits my observations.

You need to log in before you can comment on or make changes to this bug.