You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-ruby-1] Default styling for chinese annotations #775
This indicates that all Chinese ruby should implement ruby-align:center as the default, rather than that declared in the spec, which is space-around. As clreq mentions centered as standard for pinyin as well as bopomofo, think this merits at least a note in the spec text, rather than just being hidden away in this appendix – especially given that most ruby will be either Japanese or Chinese.
However, the font-size applied to zh-TW of 30% is likely to be problematic, and I'm inclined to think that this shouldn't be in the spec, or if it is, you should draw a little more attention to it so that people wanting to use pinyin with trad chinese are aware that they need to change the font-size setting. Also:
traditional chinese with bopomofo may be labelled as zh-Hant
given that the browser/font has to be involved in positioning the bopomofo annotations, and that centring shouldn't apply to the tone marks, perhaps the centring and possibly also the sizing isn't actually needed as a default for bopomofo. As it is, such a default doesn't actually help unless the browser/font can go the remainder of the way towards representing bopomofo annotations, so it seems redundant in the default stylesheet.
(i think we may have started this discussion before, but i couldn't find it in the cosmic chaos that preceded the advent of github. I don't think we concluded it anyway.)
Wrt 30% being problematic:
* Without it, it seems that bopomofo would not fit very well, right? So on balance it seems better to keep it.
* Wrt drawing more attention to the 30% default, I think anyone authoring such a page would be several orders of magnitude more likely notice by seeing it rendered in the browser than by noticing a note in the spec. :)
* Happy to take advice on whether to include zh-Hant, I'm not familiar with which lang tags bopomofo ruby is most likely to be used with. If you're sure we should include zh-Hant, I will include it. But Hant also applies to e.g. Hong Kong, which doesn't use bopomofo, right?
* The positioning of tone marks is with respect to the base text, and isn't affected by alignment except insofar as that content is adjusted. It doesn't get independently aligned. So this is a non-issue.
So my inclination here is no change, or maybe add zh-Hant. What does i18n recommend?
Activity
fantasai commentedon Feb 2, 2021
Handling the centering issue in #779
Wrt 30% being problematic:
* Without it, it seems that bopomofo would not fit very well, right? So on balance it seems better to keep it.
* Wrt drawing more attention to the 30% default, I think anyone authoring such a page would be several orders of magnitude more likely notice by seeing it rendered in the browser than by noticing a note in the spec. :)
* Happy to take advice on whether to include zh-Hant, I'm not familiar with which lang tags bopomofo ruby is most likely to be used with. If you're sure we should include zh-Hant, I will include it. But Hant also applies to e.g. Hong Kong, which doesn't use bopomofo, right?
* The positioning of tone marks is with respect to the base text, and isn't affected by alignment except insofar as that content is adjusted. It doesn't get independently aligned. So this is a non-issue.
So my inclination here is no change, or maybe add zh-Hant. What does i18n recommend?
fantasai commentedon Sep 13, 2022
Note: 30% comes from Taiwan Ministry of Education: https://language.moe.gov.tw/001/Upload/files/SITE_CONTENT/M0001/deploy/html_en/index.html
[css-ruby-1] Add zh-Hanb to 30% font-size rule #775
frivoal commentedon Sep 13, 2022
confirmed with i18n-WG at TPAC on September 13 2022.
r12a commentedon Sep 13, 2022
I18n confirmed for sizing only, here.
For centring see #779