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, 11:04 PM   #1
Kamikuza
Enthusiast
Kamikuza began at the beginning.
 
Posts: 36
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, 11: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: 26,435
Karma: 5383257
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
 
Advertisement
Old 10-25-2012, 12:30 AM   #3
Kamikuza
Enthusiast
Kamikuza began at the beginning.
 
Posts: 36
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-25-2012, 12:34 AM   #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: 26,435
Karma: 5383257
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-25-2012, 12:48 AM   #5
Kamikuza
Enthusiast
Kamikuza began at the beginning.
 
Posts: 36
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
Old 10-25-2012, 12:50 AM   #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: 26,435
Karma: 5383257
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-25-2012, 12:56 AM   #7
Kamikuza
Enthusiast
Kamikuza began at the beginning.
 
Posts: 36
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 04:24 PM
Default line-height in epubs Derek R ePub 2 02-13-2012 12:23 PM
Advice about line-height Julien Pham Sigil 2 12-22-2011 10:05 AM
Problems with Line Height Formatting JohnnyRocks Conversion 4 02-20-2011 08:10 AM
Epub line height problem dorotie Calibre 5 08-24-2010 04:23 PM


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


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