Bug 1787442 - Enable hyphenation of capitalized words by default in Finnish. r=layout-reviewers,emilio

Differential Revision: https://phabricator.services.mozilla.com/D194098
This commit is contained in:
Jonathan Kew 2023-11-22 15:46:37 +00:00
Родитель be09ceb0c1
Коммит 9dcc6c9759
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -5,7 +5,7 @@
</head>
<body>
<div style="width:1em; hyphens:manual;" lang="fi">
Kaikki ih&shy;mi&shy;set syn&shy;ty&shy;vät va&shy;pai&shy;na ja ta&shy;sa&shy;ver&shy;tai&shy;si&shy;na ar&shy;vol&shy;taan ja oi&shy;keuk&shy;sil&shy;taan.
Kaik&shy;ki ih&shy;mi&shy;set syn&shy;ty&shy;vät va&shy;pai&shy;na ja ta&shy;sa&shy;ver&shy;tai&shy;si&shy;na ar&shy;vol&shy;taan ja oi&shy;keuk&shy;sil&shy;taan.
</div>
</body>
</html>

Просмотреть файл

@ -1669,10 +1669,12 @@ pref("intl.hyphenation-alias.no-*", "nb");
pref("intl.hyphenation-alias.nb-*", "nb");
pref("intl.hyphenation-alias.nn-*", "nn");
// In German, we allow hyphenation of capitalized words; otherwise not.
// In German and Finnish, we allow hyphenation of capitalized words; otherwise not.
// (Should this be extended to other languages? Should the default be changed?)
pref("intl.hyphenate-capitalized.de-1996", true);
pref("intl.hyphenate-capitalized.de-1901", true);
pref("intl.hyphenate-capitalized.de-CH", true);
pref("intl.hyphenate-capitalized.fi", true);
// All prefs of default font should be "auto".
pref("font.name.serif.ar", "");