Hi to all,
I recently started a thread on the Sigil forum about vertical alignment of asian characters:
https://www.mobileread.com/forums/sho...d.php?t=229255
I pushed my tests a bit further with furigana and ruby.
Funny enough, Calibre displays quite well ruby tags without any css. Nevertheless, the property ruby-position:after and before seem to be applied in a way that isn't clear to me yet.
The
default, seem to be "after".
But when I explicitly insert a ruby-position instruction, it doesn't matter if the value is before or after, the furigana are displayed before...
You will find in the attached document a combination of css / no css, furigana / no furigana, vertical / no vertical, processed / unprocessed ruby tags.
Beyond testing Calibre, the file could help check how e-readers deal with furigana and vertical alignment.
The file is simply edited in Sigil, and has not been modified by a Calibre import.
Japanese fonts can be found at :
http://www.wazu.jp/gallery/Fonts_Japanese.html
And some information about ruby can be found at:
http://www.w3.org/International/articles/ruby/ and here
http://html5doctor.com/ruby-rt-rp-element/
(Hopefully, the source file I used isn't too far from the specifications).
Hope this helps
Regards,
François