12-29-2014, 02:11 AM | #1 |
Connoisseur
Posts: 87
Karma: 39898
Join Date: Jul 2013
Location: Canberra, Australia
Device: Kobo Clara HD, Kobo Libra H2O
|
Superscripts rendered as subscripts
I'm reading a book ("The Strangest Man", a biography of the physicist Paul Dirac, by Graham Farmelo, well worth reading) that contains quite a number of superscripted numbers. However, these are displaying as subscripts.
When I load the book into the ebook viewer built into Calibre, or open it in Sigil, the superscripts display correctly, but on the screen of my Aura HD (firmware 3.12) they come out as subscripts. If I look at the code in Sigil, it looks correct to me - eg 10<sup>78</sup> for ten to the power of 78. I've tried several of the different fonts provided with the Kobo (Georgia, Malabar, Amasis), and the display of the superscripts is wrong with all of them. |
12-29-2014, 02:52 AM | #2 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I've checked an epub and a sideloaded kepub (not converted by Calibre, just renamed as .kepub.epub) on my Glo with firmware 3.12.0, and superscripts seem to be working correctly. Is your book a kepub or epub? Have you checked the stylesheet to see if <sup> has been redefined?
Last edited by GeoffR; 12-29-2014 at 02:56 AM. Reason: ... and a sideloaded kepub ... |
Advert | |
|
01-02-2015, 01:37 AM | #3 |
Connoisseur
Posts: 87
Karma: 39898
Join Date: Jul 2013
Location: Canberra, Australia
Device: Kobo Clara HD, Kobo Libra H2O
|
The books are epubs in the Calibre library but I'm using the KoboTouchExtended plugin to send them to the Auda HD as kepubs, as I prefer the kepub page numbering options.
No mention of <sup> in the stylesheet. In any case, had it been redefined, that would also affect the display of superscripts in Calibre or Sigil, and they look quite correct there. |
01-06-2015, 06:57 PM | #4 |
Junior Member
Posts: 7
Karma: 10
Join Date: Sep 2013
Device: Kobo Aura HD
|
I noticed something similar in the Hyperion books. Superscripts were smaller font size, but were barely elevated at all. It looked worse the larger the font size. It looked normal in Sigil and Calibre.
I found this in the css and changed it to 0.4em. Now it looks normal at any font size. Or you could just remove this section, and sup will work as the normal default height. sup { vertical-align: 4px; } I'm reading on an Aura HD, and I think the high dpi makes any sizing by pixel count too small to be noticed. Last edited by Ashfall; 01-06-2015 at 07:23 PM. |
01-07-2015, 03:47 AM | #5 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Modern devices with such high resolutions should have an user-adjustable dpi setting, so that the the sizes of images and "pixels" can be modified, not just the font size. (The "should" above is only wishful thinking, I'm afraid.)
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embeded Italic font not rendered | theducks | Sigil | 6 | 11-07-2012 07:25 AM |
superscripts and subscripts lost in ePub | cyberbaffled | ePub | 3 | 10-13-2009 11:52 AM |
Looking for epub rendered as well as a pdf | All4Fun | Workshop | 26 | 05-20-2009 06:20 AM |
Superscripts in LRF | dynabook | Calibre | 6 | 09-10-2008 01:26 PM |
Rendered Image Size in Picture Mode (S/M/L)? | adinb | Sony Reader | 6 | 03-06-2007 03:38 PM |