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

Where should tone marks be positioned when bopomofo appears over horizontal text? #660

Open
r12a opened this issue Feb 20, 2025 · 3 comments
Labels
i:inline_notes Inline notes & annotations l:zh Chinese 問題/question s:hani Chinese script

Comments

@r12a
Copy link
Contributor

r12a commented Feb 20, 2025

Normally, bopomofo annotations appear to the right side of each base Han character. However, in some cases, bopomofo can appear over horizontal text (much like pinyin). In those cases, are the non-neutral tone marks displayed after the bopomofo characters on the same line, or are they rendered above the other bopomofo characters?

See https://r12a.github.io/scripts/bopomofo/ontheweb#horhor

Image

Image

@fantasai is asking this question so that she can set the default expectation in CSS where bopomofo is displayed without the inter-character value for ruby-position.

@r12a r12a added i:inline_notes Inline notes & annotations l:zh Chinese s:hani Chinese script 問題/question labels Feb 20, 2025
@bobbytung
Copy link
Contributor

Hello Richard,

Normally, bopomofo annotations appear to the right side of each base Han character. However, in some cases, bopomofo can appear over horizontal text (much like pinyin). In those cases, are the non-neutral tone marks displayed after the bopomofo characters on the same line, or are they rendered above the other bopomofo characters?
Image

Yes, according to the "The Manual", when texts flow horizontally and bopomofo on upper side. Tone marks(2nd, 3rd, 4th tone) should always be on upper-right.

Normal fonts without any design for tone marks (ˊˇˋ)will display in this way.

Image

Early Fonts from local foundry designed tone marks as full width glyph as figure above.
It's acceptable and if do so, better with alternative design with font feature switch to fulfill the requirement in the Manual.

@fantasai is asking this question so that she can set the default expectation in CSS where bopomofo is displayed without the inter-character value for ruby-position.

@xfq
Copy link
Member

xfq commented Feb 27, 2025

After our discussion, we think the non-neutral tone marks should be rendered above the other bopomofo characters, in the upper right corner. @r12a Does this answer your question?

@r12a
Copy link
Contributor Author

r12a commented Feb 27, 2025

Thank you @xfq and @bobbytung.

@fantasai please note the preference for 'layered' tone positioning, ie.

Image

and let us know if your question is now answered, thanks. If so, we can close this issue.

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:zh Chinese 問題/question s:hani Chinese script
Projects
None yet
Development

No branches or pull requests

3 participants