Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2014, 04:30 PM   #16
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
Another copy&paste leftover.

Nevertheless, what's your bet on this code?
Quote:
<body id="Silencio_de_blanca" xml:lang="es-ES">

<!-- <div><img alt="" src="../Images/Silencio-de-Blanca.jpg"/></div> -->

<div>

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" version="1.1" viewBox="0 0 970 1360" width="100%">
<image height="1360" width="970" xlink:href="../Images/Silencio-de-Blanca.jpg"/>
</svg>

</div>

</body>
?

Ding, dong, you win!!! The bug is still there!!!

The solution is the "horrible" 99% hack.
arspr is offline   Reply With Quote
Old 03-30-2014, 02:38 PM   #17
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,451
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
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

Last edited by DNSB; 03-30-2014 at 02:44 PM.
DNSB is online now   Reply With Quote
Advert
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
Old 04-02-2014, 05:40 AM   #19
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
arspr: I can't reproduce the problem you are seeing. As you probably have a kepub with this cover in it that demonstrate the problem, could you post it? Then we can test it and see how it is different to what we created.
davidfor is offline   Reply With Quote
Old 04-03-2014, 03:54 PM   #20
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 davidfor View Post
arspr: I can't reproduce the problem you are seeing. As you probably have a kepub with this cover in it that demonstrate the problem, could you post it? Then we can test it and see how it is different to what we created.
As this is a real book I prefer not publicly posting it. I've zipped it with password (original epub and the kepub downloaded from the Aura HD), and I've pmed you that password.

If anyone else wants to test, do not hesitate about asking me the password. Of course I do allow any of you to also spread the password. Please just do not make it very public.

Although I am REALLY angry with the publisher. You cannot imagine the amount of typos and OCR errors I've fixed in it. A complete shame. But nevertheless I prefer being "polite" with them even if they do not deserve any kind of politeness...
Attached Files
File Type: zip Silencio de Blanca (encrypted).zip (906.0 KB, 93 views)
arspr is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible bug. Strange page numbering in ACCESS (sideloaded kepub) arspr Kobo Reader 30 12-04-2013 07:12 PM
Color Weird behaviour goldberry Nook Color & Nook Tablet 2 10-14-2012 04:10 PM
PRS-T1 Strange T1 behaviour .... carpetmojo Sony Reader 3 03-24-2012 03:55 AM
Is this a bug? Strange behaviour of Calibre v0.8.24 innogen Calibre 11 10-30-2011 10:40 PM
Strange Behaviour poshm PocketBook 9 12-31-2009 09:39 AM


All times are GMT -4. The time now is 09:26 PM.


MobileRead.com is a privately owned, operated and funded community.