I struggle with the various ways that browsers carry hyphenation for justified text from line to line. I have the following css settings for my text:
text-align: justify; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto;
My language settings en . One word that is processed inconsistently "expresses":
Chrome: no hyphenation Firefox: express-ing [correct!] IE11: express-ing [correct!] Safari: express-ing [correct!]
Worried, Safari may translate the German word "Gesamtkunstwerk":
Chrome: no hyphenation Firefox: no hyphenation IE11: no hyphenation Safari: Gesamtkunst-werk [correct!]
I have no idea how Safari feels that this word is German, and carries it. Any ideas?
The CSS3 specification specifies the hyphenate-resource parameter, but I did not find example files for inclusion and / or editing. Ideally, if this option is supported among major browsers, I would enable it and want to edit it for non-English words, as well as edit its default values.
What is the best approach?
source share