07-25-2013, 04:27 PM | #1 |
Wizard
Posts: 1,601
Karma: 7999999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Line-height in Kindle books
I need some paragraphs of a book having a line-height of 1em; regrettably, the .kf8 format only supports a line-height of 1.2em or greater. However, I have seen that mobi7 books HAVE a line-height of 1em; after unpacking one of those mobi7 books, I could see they use the attribute "height" (applied "in-line" as any other property in mobi7), that is:
Code:
<p height="1em">...some text...</p> Last edited by RbnJrg; 07-25-2013 at 05:07 PM. |
07-25-2013, 04:58 PM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I suspect the answer is "you can't".
|
Advert | |
|
07-25-2013, 07:17 PM | #3 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
You probably shouldn't be specifying a line-height anyway. What if the user wants a greater line-height? They should be able to adjust it, via the ereader's settings. Personally, I prefer a slightly greater line-height than average.
|
07-25-2013, 07:22 PM | #4 | ||
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Easier question: what's the need? If it's simply aesthetic, tell the client that the formatting requirements/restrictions have changed since 2009 or whenever, which they have, and 1.2 is the minimum now. You can try to set a line-height of, say, 98%, but in the long run, you'll regret it (wait until you see the hybrid-kluged K4iOS you'll get from that). A better alternative, if it's something like an epigraph, etc., is to use a size-smaller font. It's imperfect, but it imparts a similar feel.
From Amazon's Formatting Guidelines, 2103-3, 3.1.1, second bullet, page 11: Quote:
Quote:
Hitch |
||
07-26-2013, 03:15 AM | #5 |
frumious Bandersnatch
Posts: 7,534
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
That's not line height, that's top margin (in mobi's language).
|
Advert | |
|
07-26-2013, 11:19 AM | #6 |
Wizard
Posts: 1,601
Karma: 7999999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Yes, it seems that I am But what I can't understand is why mobi7 (mobi7 from right now) supports a line-height of 1em and mobi8 doesn't. I will have to use, as you say, a font-size smaller.
Many thanks for your answer. Rubén |
07-26-2013, 11:44 AM | #7 |
Wizard
Posts: 1,601
Karma: 7999999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
07-26-2013, 12:40 PM | #8 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
07-26-2013, 03:56 PM | #9 |
Wizard
Posts: 1,601
Karma: 7999999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindlegen 2.8, plain Kindle & line-height | davidnwelton | Kindle Formats | 4 | 03-25-2013 01:05 AM |
Line height insanity! | Kamikuza | Conversion | 6 | 10-24-2012 11:56 PM |
Minimum Line Height being ignored for MOBI | yanathin | Conversion | 2 | 10-05-2012 03:24 PM |
Advice about line-height | Julien Pham | Sigil | 2 | 12-22-2011 09:05 AM |
Epub line height problem | dorotie | Calibre | 5 | 08-24-2010 03:23 PM |