![]() |
#16 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
Quote:
Thanks! |
|
![]() |
![]() |
![]() |
#17 |
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
|
The book is failing to compile with the older Kindlegen. At least THREE CSS elements/properties were removed, in the building--max height, max width, and position:absolute, which I expected. AND, no surprise, line-height with an absolute property. But, that's the older KindleGen.
It does build with Kindlegen 3, under KP3.x. What's interesting, though, is that the resulting MOBI is pretty awful on KP2.9xx, which I've always found more accurate a representation of the results, than KP3. It seems fine on KP3. I fully expect, of course, that it will be non compos mentis for any KF7 devices, but all Drops are, so that is moot. Now...Amazon's made a LOT of changes, recently; many in a very short period of time. I'm going to have to load this compiled file to my real devices, to see how it appears. I'll report back. Hitch |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
The CSS that is not compiling is referring to the cover page that I use an alternative responsive method.
Also the EPUB is in version 3 so maybe this can affect. I know it works well on Google Books, Ibooks and Kindle apps. |
![]() |
![]() |
![]() |
#20 | |
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
|
Quote:
Kindle apps render quite differently than actual devices. I'm not saying that this can't work--but it also needs testing at the KDP, because, as I previously mentioned, not all CSS survives that trip. I know for a fact that I had a client that came to us from another bookmaker, because he wanted this and that, and the other bookmaker didn't have the skillset; however, the other bookmaker made his book double-spaced, effectively--the line-heights. I had to prove to the client that if he'd uploaded the other MOBI file at the KDP, that that fixed line-height would be REMOVED, entirely, and replaced with Amazon's default line-heights--because they strictly forbid messing with that. Yours is set a 1.2, which might skate, solely because that's the same as the default size, give or take a lie or two. Hitch |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
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
|
Paperwhite/voyage..
As I expected, due to long years of doing this and the frustration of drops, this is not working particularly well in the Paperwhite family of devices. I'm a bit swamped, today, but I'll get some screenshots, and while I'm at it, I'll test it on the new F10, too.
But, if you've seen Drop attempts on a PPW device before, you've seen this. Nothing, unfortunately, new. :-( Hitch |
![]() |
![]() |
![]() |
#22 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,635
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Rubén |
|
![]() |
![]() |
![]() |
#23 |
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
|
Screenshots of tests...
Hi, guys:
Ok, to recap, I built the MOBI from the provided ePUB, using KP3.xx. I then loaded the resulting MOBI file onto my PPW and my KFire 10", figuring that covered a range of ages and advancement of devices. Attached are the relevant screenshots; the single screen, somewhat normal-sized, is the PPW, with various fonts, etc.; the two-page/screen view and the long portrait view is my Fire 10". The screenshots speak for themselves. This solution, in my opinion, is not viable for the MOBI environment, at least, not more so than what most of us already do. Hitch |
![]() |
![]() |
![]() |
#24 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
Quote:
Can you confirm if this was the case? Or do you think it's for some other reason? |
|
![]() |
![]() |
![]() |
#25 | |
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
|
Quote:
My personal gut take on it is that Amazon says very clearly not to set the line-heights, etc. {shrug}. P.S.: these results were easily viewable in Kindle Previewer 2.9xx, by the way, as well. PPS: As I believe I mentioned previously, the line-height settings were ripped out of the BODY tag, which I expected it to do. Hitch Last edited by Hitch; 06-28-2018 at 04:18 PM. Reason: Added P.S. and PPS |
|
![]() |
![]() |
![]() |
#26 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
Quote:
Please try this file. Should work for 2, 3 and 4 lines. |
|
![]() |
![]() |
![]() |
#27 |
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
|
|
![]() |
![]() |
![]() |
#28 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
|
![]() |
![]() |
![]() |
#29 |
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
|
Which? The new file? I don't know yet. I have this pesky darn business to run, and these egregiously annoying folks called "customers" that think I should be servicing THEM, instead of testing eBook stuff for other people, selfish bustards.
![]() It'll be a while, maybe even tomorrow. On top of those pesky customers, I happen to have this positively grim backache today, ![]() Hitch |
![]() |
![]() |
![]() |
#30 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
|
For those who want to test, this code should work on the vast majority of devices
CSS: @charset "utf-8"; *{margin:0%;padding:0%;border-width:0;} html{height:100%;} body{height:100%;line-height:1.2;} body *{line-height:inherit;} p{text-align:justify;text-indent:6.4mm;} .removeti{text-indent:0%;} /* 2 Lines(2.333em) Drop Caps for line-height 1.2 Example */ span.dropcaps2{ float:left; font-size:1.944166666666667em; height:1.2em; line-height:1.2em; margin-right:0.04em; /* optional */ margin-left:0.04em; /* optional */ } /* 3 Lines(3.5em) Drop Caps for line-height 1.2 Example */ span.dropcaps3{ float:left; font-size:2.916666666666667em; height:1.2em; line-height:1.2em; margin-right:0.04em; /* optional */ margin-left:0.04em; /* optional */ } /* 4 Lines(4.667em) Drop Caps for line-height 1.2 Example */ span.dropcaps4{ float:left; font-size:3.889166666666667em; height:1.2em; line-height:1.2em; margin-right:0.04em; /* optional */ margin-left:0.04em; /* optional */ } HTML: <p class="removeti"><span class="dropcaps2">L</span>orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a nunc ac nibh venenatis aliquet. Cras posuere, dolor eget aliquet lobortis, lorem quam viverra purus, non pretium urna tortor ac neque. Fusce iaculis justo eget luctus mattis. Pellentesque finibus nisi eu aliquam porta. Nam ut pharetra ligula, eget venenatis ex. Ut vel urna elementum, tincidunt quam at, auctor ipsum. Suspendisse sagittis metus non ante ultrices lacinia. Morbi quis orci erat. Mauris sed sapien maximus, aliquam mauris sed, ornare ante. Donec in ultricies sapien, sed aliquam est. Vivamus tristique sapien a dolor tincidunt tempor. Cras pretium sagittis nulla, in suscipit libero feugiat auctor. In ac dui id velit porta aliquam eget vitae eros.</p> <br/> <p class="removeti"><span class="dropcaps3">L</span>orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a nunc ac nibh venenatis aliquet. Cras posuere, dolor eget aliquet lobortis, lorem quam viverra purus, non pretium urna tortor ac neque. Fusce iaculis justo eget luctus mattis. Pellentesque finibus nisi eu aliquam porta. Nam ut pharetra ligula, eget venenatis ex. Ut vel urna elementum, tincidunt quam at, auctor ipsum. Suspendisse sagittis metus non ante ultrices lacinia. Morbi quis orci erat. Mauris sed sapien maximus, aliquam mauris sed, ornare ante. Donec in ultricies sapien, sed aliquam est. Vivamus tristique sapien a dolor tincidunt tempor. Cras pretium sagittis nulla, in suscipit libero feugiat auctor. In ac dui id velit porta aliquam eget vitae eros.</p> <br/> <p class="removeti"><span class="dropcaps4">L</span>orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a nunc ac nibh venenatis aliquet. Cras posuere, dolor eget aliquet lobortis, lorem quam viverra purus, non pretium urna tortor ac neque. Fusce iaculis justo eget luctus mattis. Pellentesque finibus nisi eu aliquam porta. Nam ut pharetra ligula, eget venenatis ex. Ut vel urna elementum, tincidunt quam at, auctor ipsum. Suspendisse sagittis metus non ante ultrices lacinia. Morbi quis orci erat. Mauris sed sapien maximus, aliquam mauris sed, ornare ante. Donec in ultricies sapien, sed aliquam est. Vivamus tristique sapien a dolor tincidunt tempor. Cras pretium sagittis nulla, in suscipit libero feugiat auctor. In ac dui id velit porta aliquam eget vitae eros.</p> <br/> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a nunc ac nibh venenatis aliquet. Cras posuere, dolor eget aliquet lobortis, lorem quam viverra purus, non pretium urna tortor ac neque. Fusce iaculis justo eget luctus mattis. Pellentesque finibus nisi eu aliquam porta. Nam ut pharetra ligula, eget venenatis ex. Ut vel urna elementum, tincidunt quam at, auctor ipsum. Suspendisse sagittis metus non ante ultrices lacinia. Morbi quis orci erat. Mauris sed sapien maximus, aliquam mauris sed, ornare ante. Donec in ultricies sapien, sed aliquam est. Vivamus tristique sapien a dolor tincidunt tempor. Cras pretium sagittis nulla, in suscipit libero feugiat auctor. In ac dui id velit porta aliquam eget vitae eros.</p> |
![]() |
![]() |
![]() |
Tags |
css, drop caps |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drop Caps question | holdit | Sigil | 11 | 08-24-2014 08:01 AM |
Drop caps | RandyK | Conversion | 2 | 05-18-2014 09:13 PM |
Is there a way to strip drop caps? | ficbot | Calibre | 2 | 08-30-2013 11:06 AM |
drop caps in paperwhite? | morrow | Kindle Formats | 7 | 12-11-2012 12:10 PM |
Drop caps | huebi | ePub | 8 | 03-04-2012 06:25 AM |