![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
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. |
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
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 | |
|
![]() |
#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.
|
![]() |
![]() |
![]() |
#4 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
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 |
||
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
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 | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Yes, it seems that I am
![]() Many thanks for your answer. Rubén |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
#8 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |