View Single Post
Old 12-23-2013, 03:02 PM   #1
fxp33
Addict
fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
Strange japanese furigana ruby display (with test file)

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
Attached Files
File Type: epub Akutagawa - Rashomon V2.epub (294.6 KB, 158 views)

Last edited by fxp33; 12-23-2013 at 03:06 PM.
fxp33 is offline   Reply With Quote