Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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, 156 views)

Last edited by fxp33; 12-23-2013 at 03:06 PM.
fxp33 is offline   Reply With Quote
Old 12-23-2013, 10:39 PM   #2
Kumabjorn
Basculocolpic
Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.
 
Kumabjorn's Avatar
 
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?
Kumabjorn is offline   Reply With Quote
Advert
Old 12-24-2013, 03:19 AM   #3
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
Hi,

@Kumabjorn: same fonts and just a style on rt tag:
Code:
style="max-width: 65px; text-indent: 1px; letter-spacing: 2px;"
The "problem" is that once the furigana are displayed before, and once they are displayed after... nevertheless, they appear and usually at the right place.
Even with the test using two rtc tags (second paragraph of each page).

Regards

François
fxp33 is offline   Reply With Quote
Old 12-24-2013, 03:27 AM   #4
Kumabjorn
Basculocolpic
Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.
 
Kumabjorn's Avatar
 
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?
Kumabjorn is offline   Reply With Quote
Old 12-24-2013, 01:12 PM   #5
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
Hi,

The file contains a combination:
  • without furigana
  • with furigana
    • horizontal yokogaki
      • with ruby css
        • with ruby-position:before
        • with ruby-position:after
      • without ruby css
    • vertical tategaki
      • with ruby css
        • with ruby-position:before
        • with ruby-position:after
      • without ruby css

etc.

Regards

François
fxp33 is offline   Reply With Quote
Advert
Old 12-24-2013, 04:54 PM   #6
Kumabjorn
Basculocolpic
Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.
 
Kumabjorn's Avatar
 
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.
Kumabjorn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:32 PM.


MobileRead.com is a privately owned, operated and funded community.