W3C home > Mailing lists > Public > www-style@w3.org > February 2015

Re: [css-ruby] Tone mark of bopomofo in ruby

From: Richard Ishida <ishida@w3.org>
Date: Thu, 05 Feb 2015 12:51:57 +0000
Message-ID: <54D3676D.7060004@w3.org>
To: Bobby Tung <bobbytung@wanderer.tw>, "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
CC: Koji Ishii <kojiishi@gmail.com>, Xidorn Quan <quanxunzhen@gmail.com>, www-style list <www-style@w3.org>, CJK discussion <public-i18n-cjk@w3.org>, eoconnor@apple.com
well, this is exciting.  I created a quick test file at 
http://www.w3.org/International/tests/test-incubator/bopomofo/


It tries to use the Bopomofo 3DU font out of the box, but allows you to 
specify another font if you wish.

Good to see that it works on ordinary text too, though i note that it 
doesn't work on horizontal text or rt.  Hopefully that's in the works.

ri



On 05/02/2015 11:28, Bobby Tung wrote:
> We have tried to start a open source project, and already have a preliminary output here[1].
>
> It works on Chrome canary[2], but still need to tune, such as the tone mark still occupied a full width space after bopomofo characters.
>
> the project plan is here in Chinese [3], I translate the requirement here:
>
>
> # related codepoints
>
> - Bopomofo characters: U+3105-U+3129
> - U+02CA MODIFIER LETTER ACUTE ACCENT
> - U+02C7 CARON
> - U+02CB MODIFIER LETTER GRAVE ACCENT
> - U+02D9 DOT ABOVE
>
> # Rules
>
> When Bopomofo is aligned vertically, as inline or inter-character ruby.
>
> And U+02CA / U+02C7 / U+02CB is placed after U+3113 - U+3129
>
> the tone mark should be placed as the reference [4]
>
> Additionally, if we decided the light tone be placed before Bopomofo Characters
>
> When U+02D9 is placed before U+3105 - U+3129
>
> It's height should be compressed, or displayed by substitute glyph.
>
>
> I think it can be done by OpenType GPOS/GSUB feature, or by Layout Engine, same rules.
>
>
> [1]: OTF:https://www.dropbox.com/s/448adhcbgaudt4g/Bopomofo3DU.otf
> XHTML:https://www.dropbox.com/s/ld2ert8tr5hprzb/bopomofo_vert_gpos.xhtml
>
> [2]:https://www.dropbox.com/s/9eb5m63xzwlle59/Screenshot%202015-02-05%2003.21.45.png
>
> [3]:https://g0v.hackpad.com/OpenType-Font-bFFqBpPmcz0
>
> [4]:https://www.dropbox.com/s/09yk4int5t1b5m8/mandarin_zhuyinfuhou_handbook.pdf
Received on Thursday, 5 February 2015 12:52:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC