[csswg-drafts] [css-text] Better describe the likely outcomes of hyphenation (editorial) (#5973)

r12a has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Better describe the likely outcomes of hyphenation (editorial) ==
8 Breaking Within Words
https://drafts.csswg.org/css-text-4/#hyphenation
https://drafts.csswg.org/css-text-3/#hyphenation

I think it would be worthwhile to add a note which explains that hyphenation should produce a number of effects, depending on the language in question, and give examples, in order to remind implementers to implement a solution that is open to cultural adaptation.  These examples include:

1. In some cases the spelling of a word needs to be changed around hyphenation, for example in Dutch cafeetje → café-tje and skiërs → ski-ers, and in Hungarian Összeg → Ösz-szeg.
2. The symbol used to indicate that a word was broken at the end of a line is not always one that looks like a hyphen. Cree uses ᐀ [U+1400 CANADIAN SYLLABICS HYPHEN], Armenian uses ֊ [U+058A ARMENIAN HYPHEN], Balinese uses ᭠ [U+1B60 BALINESE PAMENENG], etc.  Some languages, such as Malayalam or Tamil may produce no visual marker.
3. The location of the mark is not always at the end of the line – some languages put it at the start of the following line. [Pretty sure this is true, but i need to verify which languages do this.]

It should also be made clear that such effects are triggered not only by browser code applying algorithms, but by `­` or `wbr` (see https://github.com/w3c/csswg-drafts/issues/5972) when they fall within a range to which the `hyphens` property has been applied (with relevant values), and that `­` should only produce a glyph at the end of a line that looks like a hyphen if that is appropriate for the language in question.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5973 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 February 2021 07:43:15 UTC