12-11-2012, 04:09 PM | #1 |
Guru
Posts: 730
Karma: 3871570
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Nook ePubs on Kobo lose ability to change line spacing
I'm trying to convert Nook ePubs to ePubs for use on a Kobo Glo. I'm doing an ePub-to-ePub conversion before transferring the ebooks to the Kobo; I have Calibre 0.9.9.
The Kobo Glo allows me to use on-screen sliders to increase or decrease: * Font Size * Line Spacing * Margins Font Size and Margins work for my converted books, but Line Spacing stays fixed at some multiple of the font size (which seems to vary from book to book: I've got ones that give a fairly normal 2-point leading when using 10-point type, but also ones that give no leading -- 0-point -- at the same type size). Obviously, something that should be stripped out of the source Nook ePubs isn't getting removed. I've already selected removing Fonts, Margins, and Padding. Is there something else I should strip out, or something I should add to the custom CSS? Many thanks! Rob |
12-11-2012, 10:16 PM | #2 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
To fix this on older files converted from lit I convert the file to mobi and back again to epub.
Keeps most of the formatting/graphics but embedded fonts are not kept. The problem with some files is AFAIK non standard font sizes, things like font-size:0.77714. This gets changed to small in the mobi file and then changed to 0.75 in the epub converted to mobi. You can change these manually by using tweak epub and editing stylesheet.css but I had a lot of old lit files so I went with the mobi thing. You can set font-size:1em in the CSS box but doesn't change them all and all the font sizes it changes to 1 em. For me the mobi result is far better. Helen |
Advert | |
|
12-11-2012, 11:57 PM | #3 |
Guru
Posts: 730
Karma: 3871570
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Thanks, Helen, but I don't have a problem with font sizes. I have a problem with line spacing.
|
12-11-2012, 11:59 PM | #4 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
12-12-2012, 12:20 AM | #5 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Use tweak book in calibre open the stylesheet.css file with a text editor. Look for line-height.
It should look like this: line-height: 1.2; not like this: line-height: 1.2em; if you have the "em" then remove it. I only use line-height in the body style, if the paragraph styles have a line-height then it may override the reader settings. bernie |
Advert | |
|
12-12-2012, 01:17 AM | #6 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
It may seem odd that changing the font size to a standard size fixes the line spacing problem but it does. Try it and see. All of the books worked fine in the calibre viewer and on my Sony, but not on the Kobo. Helen PS Most of the problem books had the 1.2 line height already Last edited by speakingtohe; 12-12-2012 at 01:20 AM. |
|
12-12-2012, 05:54 AM | #7 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Remove the line-height from the styles. Remember that the Kobo devices respect the settings in the books and do not over-ride them. The line-height works the same as the margins and font sizes.
|
12-12-2012, 09:05 AM | #8 |
Guru
Posts: 730
Karma: 3871570
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Helen, my apologies. You were absolutely right. Converting from the original Nook ePub to Mobi to generic ePub did the trick.
gbm, I would have thought filtering out line-height would do the trick, too -- but it didn't. Thanks for the suggestion, though! You guys rock. |
12-12-2012, 01:27 PM | #9 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
Helen |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) | plague006 | Kobo Reader | 14 | 12-02-2011 11:32 PM |
Cannot change line height spacing for ereader pro | boothy | Conversion | 2 | 05-21-2011 01:35 PM |
ability to change subject line for emails from calibre | logastellus | Calibre | 1 | 03-21-2010 11:48 PM |
How to change the line spacing of a font | IceHand | Bookeen | 29 | 03-07-2009 03:09 AM |
Change line spacing | zartemis | Amazon Kindle | 1 | 02-26-2009 03:08 PM |