![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 Last edited by fxp33; 12-23-2013 at 03:06 PM. |
![]() |
![]() |
![]() |
#2 |
Basculocolpic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,356
Karma: 20181319
Join Date: Jul 2010
Location: Sweden
Device: Kindle 3 WiFi, Kindle 4SO, Kindle for Android, Sony PRS-350 and PRS-T1
|
Are you using the same font for text and ruby?
What are your line settings? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi,
@Kumabjorn: same fonts and just a style on rt tag: Code:
style="max-width: 65px; text-indent: 1px; letter-spacing: 2px;" Even with the test using two rtc tags (second paragraph of each page). Regards François |
![]() |
![]() |
![]() |
#4 |
Basculocolpic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,356
Karma: 20181319
Join Date: Jul 2010
Location: Sweden
Device: Kindle 3 WiFi, Kindle 4SO, Kindle for Android, Sony PRS-350 and PRS-T1
|
Ohh, you mean that they appear either Before or after the Word they are attached to, instead of next to it? Are using tategaki or yokogaki?
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi,
The file contains a combination:
etc. Regards François |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Basculocolpic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,356
Karma: 20181319
Join Date: Jul 2010
Location: Sweden
Device: Kindle 3 WiFi, Kindle 4SO, Kindle for Android, Sony PRS-350 and PRS-T1
|
I don't think you can mix tategaki and yokogaki in tree same text. I'd your problem likes to calibre's viewer? Because I know that calibre doesn't handle vertical text, Kovid Todd me that some time ago when I was looking at adding books from Sony Japanese site.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Strange problem with K3 display | Darkitow | Amazon Kindle | 2 | 07-08-2013 05:51 AM |
Mac SIGIL 0.7.2 does not display Japanese Characters on Tag View | SONIA_Publishing | Sigil | 3 | 06-28-2013 12:57 AM |
How to code furigana (ruby) for mobi / Paperwhite | totsubo | Kindle Formats | 8 | 04-01-2013 02:02 AM |
PRS-350 can 350 display Japanese books? | FinancialWar | Sony Reader | 2 | 01-22-2013 11:33 PM |
Japanese characters do not display :-( | hirooekimae | Sony Reader | 10 | 04-07-2009 02:18 PM |