Mobileread
Kindlegen 2.8, plain Kindle & line-height
#1  davidnwelton 03-20-2013, 04:45 PM
Hi,

I've been working on a book that is pretty standard stuff: a novel that didn't require a great deal of work. It looks good on Kindle Fire, a Kindle Keyboard, Kindle for PC, etc....

But on a regular, plain Kindle, the line height is much larger than most Kindle books. This happens with Kindlegen 2.8, but not with earlier versions.

Naturally, that CSS variable is not set anywhere.

Ideas? I've submitted a request for the Amazon folks to look at it, but I thought I'd ask around a bit too.

Thank you,
Dave
Reply 

#2  dgatwood 03-21-2013, 01:25 AM
Line height on a MOBI7 Kindle should be determined by the font size (and the font, but that's user-selected); AFAIK, the line-height CSS property isn't passed through at all, because there's no HTML equivalent. Maybe the font size is being translated differently?
Reply 

#3  davidnwelton 03-23-2013, 06:19 PM
We don't specify a font size, so it should come out as the default, and therefore should not have any bearing on line-height. Strangely enough, the problem only appears on the inexpensive Kindle - other platforms have no problems.
Reply 

#4  Hitch 03-23-2013, 08:57 PM
Quote davidnwelton
We don't specify a font size, so it should come out as the default, and therefore should not have any bearing on line-height. Strangely enough, the problem only appears on the inexpensive Kindle - other platforms have no problems.
David:

The Kindle reader won't support a line height of less than 1.2em or 120%, per the 2013 Guidelines; is that part of what you're seeing? Are you using the default fonts? We're getting pretty normal results with our books, whether we're using embedded fonts or not, and we're using 2.8.

Hitch
Reply 

#5  dgatwood 03-25-2013, 01:05 AM
The way Kindlegen works is that it creates two different versions of your content, crammed together into a single file:

The basic Kindle devices use the MOBI7 slice. For them, the line height you specify is irrelevant because there's no HTML equivalent. That detail gets thrown away entirely during the translation to MOBI7.

Edit: Deleted much of my post after I realized that half of what I posted was confusing this thread for another one.

Whatever is causing the line height change, I don't think it can possibly have anything to do with the line height in the CSS, because AFAIK there's no support for line height on these devices. Therefore, when you eliminate the impossible... it must be something else more subtle.
Reply 

Today's Posts | Search this Thread | Login | Register