Open r12a opened 4 years ago
Another question about hyphenation, arising from the example at https://github.com/w3c/afrlreq/issues/5#issuecomment-664084563 ...
When a word is hyphenated, is it preferable to:
A. drop the cursive joining around the hyphen (as shown in https://github.com/w3c/afrlreq/issues/5#issuecomment-664084563), eg.
B. maintain the cursive joining, eg.
(The CSS spec currently says that for Arabic-script text (ie. Uighur, because Arabic language text is not hyphenated), the joining should be maintained.)
I did quick check of Safari, FireFox, Chrome and Vivaldi on MacOSX and none of them automatically hyphenate Adlam text.
Yep. I'm not surprised by that. Here's a test rig that i'll point to when i write this stuff up. (Use the slider to adjust the test box width and look for wrapping.)
What is the difference between the right and left columns? The right one seems to have wider word-spaces and a different period despite being the same font as the left.
Left box is ordinary HTML. Right box is a textarea. There are often different renderings for one or the other. (/me takes a note to make that - and some other things - clearer on the UI...)
The differences in this case seem to arise from missing punctuation in the Noto font (space and period). They fall back to different fonts in the HTML and the text area. Here's the same test but with the font set to Noto Sans Adlam New – which removes the difference. (As long as you have that font installed, of course.)
Ah, of course. The standard Noto fonts don't include common punctuation. We have included them in our Noto builds (Noto Sans Adlam New) and I believe that have convinced Google to do the same for V3 Noto Sans Adlam.
From https://github.com/w3c/afrlreq/issues/2#issuecomment-664089616 we learned that
On the Web, paragraph widths and the content of lines is always changing due to the width of the device used, or the sizing of a window. This means that automatic hyphenation is particularly useful, so that the line-breaking can adapt to handle whatever word appears at the line end.
Is there any Web browser that does automatic hyphenation of Adlam script text?
How much of an issue would you say it is for Fula authors not to have automatic hyphenation? Does it significantly affect everyday authoring and reading on the Web? Or is it mostly an issue for advanced typographic layout, such as is found in carefully typeset magazines, ebooks, etc?
Also, what are the potential break-points for hyphenation, besides the 2 syllable rule. For example:
a. can a word be hyphenated before any letter that won't fit on the line, eg.
b. do the break-points have to occur between syllable boundaries, and can they appear before any syllable boundary?
c. do the break-points only occur at morphological boundaries, or following special orthographic rules?