Re: Thoughts on ruby

On 2010/09/24 22:26, Richard Ishida wrote:

> [1] I've heard people say that complex ruby has never been implemented, but
> actually there is a Firefox add-on (XHTML Ruby Support
> https://addons.mozilla.org/en-US/firefox/addon/1935/ ) that does a good job,
> so it's not impossible. Amaya also supports complex ruby with XHTML 1.1
> files.

RE: [1].

Firstly, Amaya 11.3 dose not fully support complex ruby in XHTML 1.1.
Amaya can not display taiji ruby (対字ルビ), it is automatically
transforms to taigo ruby (対語ルビ).

<ruby>
    <rbc><rb>AAAAA</rb><rb>BBBBB</rb></rbc>
    <rtc><rt>a</rt><rt>b</rt></rtc>
</ruby>

So, the above markup is equal to the one below on Amaya rendering.

<ruby><rb>AAAAABBBBB</rb><rt>ab</rt></ruby>

Also, Amaya can display ruby on both sides (up and bottom) when <ruby>
has two <rtc>.
But css ruby-postion property can not use on Amaya, Amaya can not
display ruby only on the bottom side.
Amaya is able to display ruby only on the up side and both side of the
ruby-base character.



My implementation is able to display correctly by solving the case
written above.
If <ruby> has more than three <rtc>, these are ignored.
I'm considering about in the case when the numbers of <rt> in <rtc>
and <rb> in <rbc> is different like below...

<ruby>
  <rbc><rb>AAA<rb><rb>BBB</rb></rbc>
  <rbc><rb>a</rb></rbc>
</ruby>


If you have any questions, I'm looking foward to answering it.

Regards,
Hajime.


-- 
# 青山学院大学大学院
# 理工学研究科  知能情報コース
# 塩澤 元 (Shiozawa, Hajime)
# mail: hajime.shiozawa@gmail.com

Received on Tuesday, 28 September 2010 07:27:50 UTC