Closed Bug 1705881 Opened 3 years ago Closed 7 months ago

Hyphenation for Czech language

Categories

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

Firefox 86
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 987674

People

(Reporter: wikiker, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

<div lang="cs" style="word-break: break-word; hyphens: auto>Královský pohřeb sledují lidé po celém světě. Nebýt pandemie koronaviru, rozloučit by se přišly i desítky tisíc Britů, podobně jako tomu bylo například při pohřbu královny matky v roce 2002. Vzhledem k omezením jsou ale i oni nuceni sledovat smuteční ceremoniál pouze u televizních obrazovek.</div>
<div lang="en" style="word-break: break-word; hyphens: auto>Královský pohřeb sledují lidé po celém světě. Nebýt pandemie koronaviru, rozloučit by se přišly i desítky tisíc Britů, podobně jako tomu bylo například při pohřbu královny matky v roce 2002. Vzhledem k omezením jsou ale i oni nuceni sledovat smuteční ceremoniál pouze u televizních obrazovek.</div>

Actual results:

The text is in the Czech language. If provided lang="cs", hyphenation didn't work. If provied lang="en", hyphenation did work.

Expected results:

Provided lang="cs", the text should have been hyphenated, with lang="en" it shouldn't have.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

That HTML example is broken. auto> should be auto">.

Component: Layout: Text and Fonts → Untriaged
Product: Core → Firefox
Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

Firefox doesn't currently include hyphenation patterns for Czech.

There are Czech patterns in the tex-hyphen collection that could be adapted and incorporated, from a technical point of view, but it looks like they are GPL-licensed, and according to the Mozilla license policy, the GPL is not compatible with the MPL v2.0. As such, I don't think we're free to directly import them. Maybe they could be made available separately via an add-on or something like that.

Type: defect → enhancement
Status: UNCONFIRMED → RESOLVED
Closed: 7 months ago
Duplicate of bug: 987674
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.