![]() |
#16 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 470
Karma: 112801
Join Date: Aug 2010
Device: Aura H2O (i86, M96C, Mini&Glo, PRS-950, STR, K-Touch, K-DX, K-3)
|
Agreed. I'm pretty sure that the OP had changed the settings in a book and then found that changing the defaults did not change that book.
|
![]() |
![]() |
![]() |
#17 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
@DNSB: I can't adjust the line spacing in your copy of the book, I tried removing the line-height terms from the .css file but then the double-spacing problem returns. @EldRick: You are right, I had already changed the line spacing in the book. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
I have tried the Font-size method as stated by Granny Luddite and it works on some books, and does change all the font sizes to 1em.
What works slightly better for me is to convert the epub to mobi and back again to epub. Most of the larger/smaller font-sizes are retained and the line hieght works although I have not reconverted enough books to say for sure that it will work in all cases. The books I have done all worked fine before reconverting on the Sony readers and the calibre viewer and still do. But not on the Kobo mini. Helen |
![]() |
![]() |
![]() |
#19 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,658
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Toast, redux
Quote:
The version I uploaded here would not respond to the slider use as it had fixed line spacing and margins. I prefer to have setting them in the stylesheet so I have consistency. I tried running the file through Calibre removing font, margin and line-height and it seems to work on my Glo but again with the minimum line spacing being too large for my tastes. I've attached a version with line-height and margins removed, the stories in separate files and a few other mods. While some other programs would show the <p><br /></p> items as blank lines, in my experience, the Kobo renderer seems to disregard those lines which mucked up the wide spacing between the segments of the book. Hmmm... now up to 15 minutes on the file. Last edited by DNSB; 12-06-2012 at 02:06 PM. Reason: File? What file? Oh... that file! |
|
![]() |
![]() |
![]() |
#20 |
Junior Member
![]() Posts: 2
Karma: 32
Join Date: Dec 2012
Device: Kobo Mini
|
Thanks Helen/speakingtohe, it's amazing how well that works. I was able to remove "font-size" and "line-height" from "Other CSS Properties" and was able to adjust both line height and font size, and the final epub displays much nicer on the Mini.
I did check the font box in "filter style information" in the last pass into epub. Don't know if that was needed. Also, I added all the Kobo/Mini specific changes on the mobi to epub pass and not on the original epub to mobi pass. Is that the best way to do the conversion? Thank again. I'm off to play with some of the other files that had line spacing problems. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
I don't think checking the font box helps in a conversion to mobi or back to epub, as mobi doesn't AFAIK support embedded fonts or numerical font sizes. font-size: 0.77419em; is usually converted to font-size: small; then converted back to font-size: 0.75em; which the Kobo seems to understand. It seems to be nonstandard font sizes that make the Mini choke anyway. Oh well, not the most elegant solution, but it seems to work. Helen |
|
![]() |
![]() |
![]() |
#22 | |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2022
Device: Kobo forma
|
![]() Quote:
Just registered to say thank you ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre doesnt work with lenovo k1 tablet | lynt666 | Devices | 1 | 11-08-2011 11:16 PM |
losing line spacing when converting with Calibre | Stensie4JC | Conversion | 9 | 01-23-2011 03:47 PM |
usb doesnt work, want to use SD only | bookeenbart | Bookeen | 8 | 02-04-2010 11:16 AM |
Problem with epub to lrf with changing font size and line spacing | kleinbiker | Calibre | 4 | 12-17-2009 08:55 AM |
Line spacing in Calibre? | leebok21 | Calibre | 7 | 08-10-2008 05:31 PM |