w3c / jlreq

Text Layout Requirements for Japanese
https://w3c.github.io/jlreq/
Other
101 stars 17 forks source link

How to handle multisyllable/multiword ruby annotations in Japanese #184

Open r12a opened 4 years ago

r12a commented 4 years ago

My reading of the CSS Ruby spec is that if you set ruby-align to space-around (which is the default) and a single annotation for a single base contains two words in, say, Latin text (yes, i know it's probably very rare), then justification would be applied, causing one word to appear to the left, and the other to the right, with possibly a large gap between.

Here is an example i use for the same question to the clreq folks at https://github.com/w3c/clreq/issues/125:

e6b834c0-ef02-11e6-8a68-b757558cdb2a

My suspicion is that actually one would expect the Latin text to remain centred, like this (imagine this was in Japanese):

cbb6ac38-ef02-11e6-84f4-ea79e8a4c61f

Is this correct?

See also https://github.com/w3c/csswg-drafts/issues/771

murata2makoto commented 3 years ago

Florian (@frivoal) prepared this document.

frivoal commented 3 years ago

Both results can be achieved, so the interesting question is which one should be the default.

himorin commented 3 years ago

Both results can be achieved, so the interesting question is which one should be the default.

Now reaching out to JL-TF members on that, whether there is any strong condition(s) from their long experience.

r12a commented 3 years ago

Fwiw, the answer from the Chinese folks was that text should be centred and not justified. See https://github.com/w3c/clreq/issues/125

himorin commented 3 years ago

added summary (from mail list discussions) to the CSS issue.