Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2014, 08:39 AM   #1
phammo1
Junior Member
phammo1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2014
Device: none
Line spacing in preview

Hi, just wondering if it's possible to increase the line spacing (not the font size) in the editor's preview window?

I can't see a setting in the Preferences, and looking around in tweak_book_gui.json, which appears to be where the settings are stored, I can see things like preview_base_font_size, but nothing that seems to relate to line spacing. I'm wondering if there is such a setting, that I could add to tweak_book_gui.json ?
phammo1 is offline   Reply With Quote
Old 11-16-2014, 12:28 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by phammo1 View Post
Hi, just wondering if it's possible to increase the line spacing (not the font size) in the editor's preview window?

I can't see a setting in the Preferences, and looking around in tweak_book_gui.json, which appears to be where the settings are stored, I can see things like preview_base_font_size, but nothing that seems to relate to line spacing. I'm wondering if there is such a setting, that I could add to tweak_book_gui.json ?
'Preview', It is supposed to be close to what you see on the device.
If the lines are to close there?

In the CSS: line-height: 1.3; (or a fractionally bigger number than it was)
theducks is online now   Reply With Quote
Advert
Old 11-16-2014, 09:44 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Preview renders the book according to whatever styles the book has. The font settings are simply there for books that have no font styles, so that the user can control what fallback fonts the preview uses.
kovidgoyal is offline   Reply With Quote
Old 11-17-2014, 06:20 AM   #4
phammo1
Junior Member
phammo1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2014
Device: none
OK, thanks. I'm just working with a few ebooks that have no styles defined, but I can define the line spacing in each one as suggested.
phammo1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help with line spacing henrypartridge Sigil 16 03-18-2016 11:33 AM
Line Spacing Francois Driesen Calibre 2 08-22-2014 02:21 PM
Line Spacing Nikita Jedi Conversion 11 07-07-2012 07:05 PM
7.34 line spacing??? JSWolf Calibre 18 12-19-2010 11:09 PM
Line spacing Ivo Kobo Reader 3 06-30-2010 12:54 PM


All times are GMT -4. The time now is 07:59 PM.


MobileRead.com is a privately owned, operated and funded community.