-
Notifications
You must be signed in to change notification settings - Fork 63
Space between characters after joining two lines #293
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
Comments
I tend to think spaces between bopomofo should not be discarded, because similar to pinyin, there seem to be spaces to break words or characters. However, I haven't ever seen any complete sentence written in just bopomofo, so I can be wrong about how it's actually used. Probably people from Taiwan should confirm. |
At https://r12a.github.io/scripts/bopomofo/ontheweb#mixedtext you can see bopomofo words mixed into Chinese without spaces being used. At https://r12a.github.io/scripts/bopomofo/ontheweb#lighttone you can see a whole paragraph in bopomofo, which uses spaces between words. See also http://uncyclopedia.tw/wiki/%E3%84%93%E3%84%A8%CB%8B_%E3%84%A7%E3%84%A3_%E3%84%A8%E3%84%A3%CB%8A I suspect that its a question of which is the dominant writing style. Is this bopomofo only, or is this chinese that includes bits of bopomofo. |
I wouldn't take uncyclopedia as serious source of reference :) But yes, when it's mixed with Chinese characters, it should probably have whitespace removed. I somehow recall that the rule had something like if one side is Chinese and the other side is some set of characters, then eliminate the whitespace. This kind of thing can probably be applied here as well. But it seems that there is no longer such rule... |
I’ve mailed this reference to fantasai:
We have made a little progress on Bopomofo layout with OpenType:
https://cmex-30.github.io/Bopomofo_on_Web/testpage/index.html
and document as attachment for reference:
Quick answer is yes. space is used when Bopomofo is used inline.
In part 4.4, usage of Bopomofo inline layout, to avoid to see two different syllables as one, space in between is necessary.
…Sent from my iPhone
> Xidorn Quan ***@***.***> 於 2020年4月25日 下午6:25 寫道:
I wouldn't take uncyclopedia as serious source of reference :)
But yes, when it's mixed with Chinese characters, it should probably have whitespace removed.
I somehow recall that the rule had something like if one side is Chinese and the other side is some set, then eliminate the whitespace. This kind of thing can probably be applied here as well. But it seems that there is no longer such rule...
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
We discussed this issue in a clreq meeting, and our consensus was that Bopomofo should not discard spaces because spaces are sometimes used in Bopomofo-only text. |
Background of this issue
Something like the following paragraph in an HTML file:
will become:
when rendered in a web browser, i.e., lines are joined and one space is added between two lines.
However, in CJK text (except Hangul), the spaces are not added. For example:
becomes:
when rendered in a web browser, i.e., there is not space after
,
and好
.Question
The CSS Working Group would like to know which characters should not have spaces around them when joining lines.
Here is the current list, categorized using Unicode blocks: https://drafts.csswg.org/css-text-3/#space-discard-set
The interesting questions remaining are:
Unlike fantasai, I'm leaning towards not having spaces for all three categories above.WDYT? @w3c/chinese-layout-req-contributorsSee also (CSSWG issues)
The text was updated successfully, but these errors were encountered: