Quote:
Originally Posted by JSWolf
Lets say you have a ePub for Kobo and you get you dropcaps to look perfect on your Kobo. What's to say it will look perfect on my Kobo with a different fint and different line height? That's the problem. You cannot make sure a dropcap works in all situations even if you have a different CSS as you've suggested.
So you deliver an ePub for Kobo and I buy from eBooks.com. How can you make sure that the ePub from eBooks.com looks good on my Kobo or someone else's Pocketbook? You can't. So why bother when it doesn't work?
|
Well, in part you have right and in part don't. It's true that the dropcap is affected by the font and line-height. But you omit the power of JS. On epub3 you can detect changes in fonts, font-sizes and line-heights AND ACCORDING TO THAT, to modify the style that gives format the drop cap, so it looks fine. Of course, you can do that on epub3 (I did it) not under epub2 and in the present case, is not possible to have a fallback code for all situations with epub2. However, even under epub3, after the user made a change in the font, the JS code produces "a blink" in the screen to adjust the drop caps in the whole epub that I don't like. And still I couldn't find a way to supress (or to hide) the blink. If the blink is not important for you, then under epub3 is possible to have perfect drop caps (Kobo for Android display very well drop caps even without JS, with any font size).