05-14-2017, 03:48 AM | #1 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Line-height of mobi not honoured by Kindle?
.....
I used Calibre to convert an AZW3 file into mobi, with extra CSS Code:
p { line-height: 1.718em } I sent the file to my amazon email address. The file was delivered to my Kindle, but the line-height did not change. When I chose "old" as the output, the line-height did not change. When I chose "new", the file could not be delivered via email. When I converted it into AZW3 and loaded it onto my kindle since Amazon email does not recognize AZW3, it worked. But if I 1. use Kindle Unpack to unpack the same AZW3 file 2. change the line-height in the CSS file 3. use KindleGen to generate a mobi file (select the opf file and pack up) 4. send this mobi file to my Amazon email address I get the file and the line-height is what I want. They are both mobi files, why the one converted by Calibre and sent to Amazon via email does not work? I guess there must be something with Amazon cloud that somehow "corrupted" the file. But why wasn't the file generated by KindleGen "corrupted"? This problem has existed for a long time. Thank you so much. Last edited by Steven630; 05-14-2017 at 04:00 AM. |
05-14-2017, 07:40 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Kindlegen is not producing a MOBI file it is producing an joint kf8/mobi7 file. You want to do that in calibre use the appropriate option int he MOBI Output section of the conversion dialog.
The MOBI format, more precisely the old MOBI 7 format has no support for CSS *at all*. It is based on HTML 3.2 |
05-14-2017, 09:57 AM | #3 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
WHY?
AZW3 works with all K4 and onward and AZW3 gives you the CSS control you crave. Is it because you wish to use their Wireless delivery? |
05-16-2017, 07:17 AM | #4 | |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Quote:
If Kindlegen can produce such a file, surely Calibre can do that too? Last edited by Steven630; 05-16-2017 at 07:22 AM. |
|
05-16-2017, 07:20 AM | #5 | |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Quote:
I also wish to change the line-height of RSS files fetched by Calibre. It would be nice if Calibre can produce a file like one by Kindlegen. |
|
12-16-2017, 04:06 AM | #6 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
With the latest version, if I change minimum line height to more than 120%, the effect can be seen with a "both" mobi file delivered wirelessly to Kindle. Don't know the reason.
Update: This was a fluke. See #8. Last edited by Steven630; 01-03-2018 at 01:19 PM. |
12-16-2017, 11:23 AM | #7 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Kindle's do not respect line heights of less than 1.2em.
|
01-03-2018, 01:16 PM | #8 | |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Quote:
If I convert an azw3 to mobi using both Kindlegen and Calibre (both-type mobi for Calibre) and deliver them wirelessly to my Kindle. The one produced by Kindlegen has proper line height. The one produced by Calibre does not. |
|
01-03-2018, 01:16 PM | #9 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
01-03-2018, 10:12 PM | #10 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you aren't seeing line height then you are not using a both type mobi file.
|
01-03-2018, 11:41 PM | #11 | |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Quote:
Since the file is delivered with Amazon's wireless delivery service. I guess that somehow Amazon Cloud corrupted the file generated by Calibre. But files generated by Kindlegen works fine. Just wonder if Calibre can generate a both type mobi similar to Kindlegen (can be delivered wirelessly and still honors line height). |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle for iOS (AZK format) - line height issue | heulwen.jones | Kindle Formats | 7 | 05-12-2016 12:24 AM |
Line-height in Kindle books | RbnJrg | Kindle Formats | 8 | 07-26-2013 03:56 PM |
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 |