![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2012
Device: none
|
changing line spacing doesnt work, how to fix (with calibre)
on some books changing the line spacing doesn't work (and some books do) on my kobo glo , how can i fix this with calibre? what are the step by steps instructions?
|
![]() |
![]() |
![]() |
#2 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
|
You can fix it in the .css but as most people you are hooked on calibre and seem lost without it.
Sorry I can't help you with that program as I never used it. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() Posts: 16
Karma: 250
Join Date: Oct 2012
Device: Kobo Touch
|
[Edited by moderator]
In Calibre, select the book, then press convert. Move to the Look And Feel page of the conversion options, and select the ´filter style information´ tab. In the other CSS Properties field, enter `line-height`. Then press Ok. Last edited by WT Sharpe; 12-03-2012 at 01:43 PM. |
![]() |
![]() |
![]() |
#4 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
|
[Edited by moderator]
Ironically it just takes changing a value in one line of code in the .css to do the trick compared to the whole tinkering with calibre that you describe. Last edited by WT Sharpe; 12-03-2012 at 01:44 PM. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,794
Karma: 68145694
Join Date: Dec 2011
Location: Australia
Device: Kobo Libra 2, iPadMini4, iPad4, MBP; support other Kobo/Kindles
|
In addition, you can set this as your default way to convert: go to Preferences > Conversion > Common Options. Calibre also allows you to do large-batch conversions quickly and easily.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bah, humbug!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,072
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
|
Moderator Notice
You may notice that several posts have disappeared from this thread and several others have been edited. Please feel free to disagree with a person's opinions, or dispute their facts or data, providing you do so politely. Likewise, please address your criticisms to those opinions, facts and data rather than the person. Refer to the MobileRead Guidelines, specifically the full text of the very first item. When posting, your attention to the Guidelines is required. Name calling ("troll") is not allowed. |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Hi, I'm having trouble with line spacing in Kobo Glo too.
Quote:
(The book I'm having trouble with is at http://www.antipope.org/charlie/blog...ast/toast.epub in case the problem is something specific to this book.) |
|
![]() |
![]() |
![]() |
#8 |
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)
|
To change the default line spacing options for the reader:
https://www.mobileread.com/forums/sho...d.php?t=197843 Personally, I like 1.2 as a line-spacing setting. |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
However it seems to be that when I do an epub->epub conversion with calibre stripping the line-height terms from the .css, the line height can then be adjusted, but the minimum height is much more than 1.3, it is more like double-spaced. Has anyone managed to convert a book that didn't allow the line spacing adjustment into one that does allow adjustment, and allows the spacing to be set to normal (1.3 or so) spacing? If so could you post a link to the .epub so I can try it out? |
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 2
Karma: 32
Join Date: Dec 2012
Device: Kobo Mini
|
GeoffR, I had the same problem with some non-DRM epubs. It's a little heavy handed but give this a try:
In the conversion options, under Look And Feel, select the "filter style information" tab. Check the "Fonts" box then in the "Other CSS Properties" add "font-size" (Other CSS Properties: font-size, line-height). Checking the "Fonts" box will strip a lot of the font information from the epub (but not "font-size") and enable adjustment of fonts on the Kobo for some non-DRM epubs. Calibre rev. 0.9.4 Kobo firmware rev. 2.1.5(r43939 10/12/12) |
![]() |
![]() |
![]() |
#11 |
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)
|
"Thanks for the tip, but this doesn't seem to work for me."
It didn't work because you had already opened that book with the previous settings. The line-height setting is retained for each book. Changing the value in the configuration file only changes the default that will be used when you open a new book. |
![]() |
![]() |
![]() |
#12 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,652
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Toast modified
Quote:
I opened the book in Sigil and looked through the stylesheet.css in the epub. As well as line-height: normal, most of the paragraph styles had a min-height: 13px line. I removed the min-height lines, changed the font sizes to be centered around 1em rather than .70588em (kept me from having to change the font size when I read the book), changed the text align from justify to left, replaced a mass of <p><br /></p> lines with <p> </p> lines to allow blank lines to show when reading the epub and added a cover image. Best I could do in 5 minute time limit. When I put the book back on my Glo, the styling still looks poor but the line spacing does not vary as badly with font changes. I'm going to attach a copy to this message. Last edited by DNSB; 12-05-2012 at 02:11 PM. Reason: usual typos.... |
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
That isn't quite correct. The per book settings are only stored in the database if you open the font settings and make a change. Once you do that, whenever you open that book, it will open with those settings. Those settings are written to the configuration file and used as the default for other books.
|
![]() |
![]() |
![]() |
#14 | |
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)
|
Quote:
This supports GeoffR's observation that changing the default externally did not change the book with which he was having the problem, making him think that the default change "didn't work". |
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
- Open book A and change a setting. - Open book B and it will be displayed with the same settings as book A. - Open book C and it will be displayed with the same settings as book A. - Make changes to the settings for book C. - Open book B and it will be displayed with the same settings as book C. - Open book A and will be displayed with its stored settings. - Open book B and it will be displayed with the same settings as book C. So, changing the settings for a book gets saved for that book and becomes the default for any book that does not have saved settings. And settings will only be saved for a book if you change them. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |