Hyphenation for Czech language
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
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.
Comment 1•3 years ago
|
||
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.
Comment 2•3 years ago
|
||
That HTML example is broken. auto>
should be auto">
.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
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.
Updated•7 months ago
|
Description
•