Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2012, 10:04 PM   #1
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
Line height insanity!

Got the latest update...

Now, all the books I've converted from pdf, epub etc (Sigil > KindlePreview > Kindle3) have the larger line-height/line spacing but all the books I've bought have the nice tight line spacing

Yes I know I can choose "small" line spacing and that'll fix the books I've done but... having to switch between "small" and "medium" when I read other books will be freakin' annoying.

So for a test, I converted the same doc with Calibre and used "Minimum Line Spacing:0" and whaddya know - same as the purchased books...


How does Calibre fix the line-height when you convert with Calibre?!?!?!
Kamikuza is offline   Reply With Quote
Old 10-24-2012, 10:41 PM   #2
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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hold your mouse over any option and you will get a tooltip with more detail about what that option does.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-24-2012, 11:30 PM   #3
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
What I mean is... what code does it use? How can I achieve the same effect in Sigil > KindlePreview without using Calibre to convert?
Kamikuza is offline   Reply With Quote
Old 10-24-2012, 11:34 PM   #4
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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre is open source, simply grep the name of the option in the calibre source code to see what code is used.
kovidgoyal is offline   Reply With Quote
Old 10-24-2012, 11:48 PM   #5
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
Was hoping for something easier like CSS to add to my ePubs...
Kamikuza is offline   Reply With Quote
Advert
Old 10-24-2012, 11:50 PM   #6
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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's not a pure CSS solution. One of the major reasons calibre's conversion pipeline exists is that most things cannot be done in pure css for the general case.
kovidgoyal is offline   Reply With Quote
Old 10-24-2012, 11:56 PM   #7
Kamikuza
Connoisseur
Kamikuza began at the beginning.
 
Posts: 62
Karma: 10
Join Date: May 2011
Location: Japan
Device: Kindle3
Hmm... and it only works in .mobi, not .azw3.

Unfortunately, Calibre ignores (?) the <big> or <small> tags in the conversion...

Seems I either live with constantly changing the line spacing
Kamikuza is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimum Line Height being ignored for MOBI yanathin Conversion 2 10-05-2012 03:24 PM
Default line-height in epubs Derek R ePub 2 02-13-2012 11:23 AM
Advice about line-height Julien Pham Sigil 2 12-22-2011 09:05 AM
Problems with Line Height Formatting JohnnyRocks Conversion 4 02-20-2011 07:10 AM
Epub line height problem dorotie Calibre 5 08-24-2010 03:23 PM


All times are GMT -4. The time now is 08:40 PM.


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