View Single Post
Old 04-02-2014, 03:26 AM   #18
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by DNSB View Post
When I played with some epub to kepub conversion, I found that to fit to screen, you need the svg wrapper. The <div> tag around the svg are there to make it compliant and keep FlightCrew and epubcheck from whimpering. When I converted a couple of books from epub to .kepub.epub, the cover display seems to look okay though I did not have a test case with an image larger than the Aura HD's display resolution.


Code:
<style type="text/css">
@page {padding: 0pt; margin:0pt}
            body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>

<body>
  <div>
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 900 1200" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="1200" width="900" xlink:href="../Images/cover.jpeg"></image>
    </svg>
  </div>
Regards,
David
Hi David, please, could you test with my attached image?

I mean, sometimes I get the two pages split and sometimes not and I haven't found any reasonable trigger for each behaviour.
arspr is offline   Reply With Quote