Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
r12a opened this issue Feb 25, 2020 · 5 comments
Open

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

r12a opened this issue Feb 25, 2020 · 5 comments
Labels
i:inline_notes Inline notes & annotations l:ja Japanese question Questions about how Japanese works. These issues should be tracked in i18n-activity tracker. s:jpan Japanese script

Comments

@r12a
Copy link
Contributor

r12a commented Feb 25, 2020

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 w3c/clreq#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 w3c/csswg-drafts#771

@r12a r12a added question Questions about how Japanese works. These issues should be tracked in i18n-activity tracker. i:inline_notes Inline notes & annotations labels Feb 25, 2020
@murata2makoto
Copy link

Florian (@frivoal) prepared this document.

@frivoal
Copy link
Contributor

frivoal commented Feb 2, 2021

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

@himorin
Copy link
Contributor

himorin commented Feb 3, 2021

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
Copy link
Contributor Author

r12a commented Feb 3, 2021

Fwiw, the answer from the Chinese folks was that text should be centred and not justified. See w3c/clreq#125

@himorin
Copy link
Contributor

himorin commented Feb 15, 2021

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

fantasai added a commit to w3c/csswg-drafts that referenced this issue Feb 16, 2021
@r12a r12a added s:jpan Japanese script l:ja Japanese labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i:inline_notes Inline notes & annotations l:ja Japanese question Questions about how Japanese works. These issues should be tracked in i18n-activity tracker. s:jpan Japanese script
Projects
None yet
Development

No branches or pull requests

4 participants