|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 545364
Join Date: Jun 2006
Location: Toronto
Device: Kobo Glo/Touch/Vox/WiFi, Kindle 3, Nook 1st ed, ECTACO jetBOOK-lite
|
Nook ePubs on Kobo lose ability to change line spacing
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
__________________
Hugo Award-winning Science Fiction writer Author of FlashForward and Triggers http://sfwriter.com |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,275
Karma: 12727566
Join Date: Apr 2010
Device: sony PRS-600, PRS-350, PRS-T1, 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 |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 545364
Join Date: Jun 2006
Location: Toronto
Device: Kobo Glo/Touch/Vox/WiFi, Kindle 3, Nook 1st ed, ECTACO jetBOOK-lite
|
Thanks, Helen, but I don't have a problem with font sizes. I have a problem with line spacing.
__________________
Hugo Award-winning Science Fiction writer Author of FlashForward and Triggers http://sfwriter.com |
|
|
|
|
|
#4 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,307
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
The basic concept of converting to Mobi then back to ePub may work for line size too. Experiment with a book and let us know the results.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#5 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 390
Karma: 1112931
Join Date: Jun 2010
Device: jetbook lite, Nook STR
|
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 |
|
|
|
|
|
#6 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,275
Karma: 12727566
Join Date: Apr 2010
Device: sony PRS-600, PRS-350, PRS-T1, 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. |
|
|
|
|
|
|
#7 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,991
Karma: 1780441
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
|
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.
|
|
|
|
|
|
#8 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 545364
Join Date: Jun 2006
Location: Toronto
Device: Kobo Glo/Touch/Vox/WiFi, Kindle 3, Nook 1st ed, ECTACO jetBOOK-lite
|
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.
__________________
Hugo Award-winning Science Fiction writer Author of FlashForward and Triggers http://sfwriter.com |
|
|
|
|
|
#9 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,275
Karma: 12727566
Join Date: Apr 2010
Device: sony PRS-600, PRS-350, PRS-T1, Tablet
|
Quote:
![]() Helen |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |