Quote:
Originally Posted by arspr
So, now we have 5 books (one of them, "The Last Empire" coming from Kobo itself...) with no valid image settings in the cover. Then what I really cannot understand is why Kobo is making a height:100% fit when the image is smaller than the screen and a width:100% fit when it is bigger.   The correct decision should have been a height:100% fit when the image was taller and narrower than the available area on the screen and a width:100% fit when the image was shorter and wider.
|
Have you tried using max-width/max-height or a mix instead? Something like max-width=100%; height=auto;? Though I would vote for the svg wrapper technique instead. It simply works better though you will have to wrap your mind around the idea that height/width are just another way of writing the aspect ratio.
As for complaints about what Kobo is doing, this seems to be more an issue with the renderer so either Adobe/DataLogics or ACCESS would be the guilty parties.
I find that quite a few commercial ebooks appear to have been produced by minimum wage earning high school students. One horrible example had 11 <div> tags at the start of the 3 files that the body of the book was broken up into. Most of those divs set font sizing which made it real fun to figure out exactly what the final text size was going to be. Not to mention 20 or so <br> tags to give a gap between chapters with 2 breaks in the middle of chapters for the file breaks.
Regards,
David