|
|
#1 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2012
Device: none
|
changing line spacing doesnt work, how to fix (with calibre)
|
|
|
|
|
|
#2 |
|
Freethinker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,449
Karma: 7020586
Join Date: Jan 2011
Location: European Union
Device: Glo, Aura HD 2.5.1
|
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.
__________________
. "All in all you're just A-nother brick in the wall" (Pink Floyd) |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Junior Member
![]() ![]() ![]() Posts: 9
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 |
|
Freethinker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,449
Karma: 7020586
Join Date: Jan 2011
Location: European Union
Device: Glo, Aura HD 2.5.1
|
[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.
__________________
. "All in all you're just A-nother brick in the wall" (Pink Floyd) Last edited by WT Sharpe; 12-03-2012 at 01:44 PM. |
|
|
|
|
|
#5 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1378842
Join Date: Dec 2011
Location: Australia
Device: Kobo Glo, Kobo Touch, iPad; support a Sony PRS-T1 and 2 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.
|
|
|
|
|
|
#6 |
|
Grand Muckity-Muck
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,628
Karma: 70641104
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindles: Paperwhite/K-3/Touch, Sony PRS-600, iPod (audio books), iPad1
|
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 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 440
Karma: 1213349
Join Date: Nov 2012
Location: New Zealand
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 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 375
Karma: 91339
Join Date: Aug 2010
Device: Kobo Mini, Kobo Glo (Sony PRS-950, Nook STR, Kobo Touch, K-DX, K-3)
|
To change the default line spacing options for the reader:
http://www.mobileread.com/forums/sho...d.php?t=197843 Personally, I like 1.2 as a line-spacing setting. |
|
|
|
|
|
#9 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 440
Karma: 1213349
Join Date: Nov 2012
Location: New Zealand
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 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 375
Karma: 91339
Join Date: Aug 2010
Device: Kobo Mini, Kobo Glo (Sony PRS-950, Nook STR, Kobo 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: 649
Karma: 714690
Join Date: Jul 2010
Location: Vancouver
Device: Kobo, WiFi, Touch, Glo, Kindle, Nexus 7, iPad 3
|
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 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,006
Karma: 1787523
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
|
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 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 375
Karma: 91339
Join Date: Aug 2010
Device: Kobo Mini, Kobo Glo (Sony PRS-950, Nook STR, Kobo 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 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,006
Karma: 1787523
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
|
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 Tools | Search this Thread |
|
Similar Threads
|
||||
| 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 |