11-05-2010, 09:31 AM | #1 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Blank pages when opening this epub
I've downloaded Trollslayer from the the Black Library free books and unfortunately the first two pages are blank. They appear fine in ADE but not in EPUBReader.
Link to Free books page is: http://www.blacklibrary.com/Getting-...Downloads.html |
11-05-2010, 10:30 AM | #2 | |
Well trained by Cats
Posts: 30,120
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The first 2 pages are rendering Correct in Sigil and EPUBReader. The reason: No textual or Image content in the Body of "FrontCover.html" or "title.html" I am guessing ADE is skipping pages that do not have visible content I am guessing that someone forgot to insert the image links (both images exist in the package) and were fairly easy to fix With Sigil (Current sigil does not allow re-using a image that exists in the package. I past a dummy image into place then switch to Code View and change the filename to the one in the package+ add a text value to the alt entry. |
|
11-05-2010, 11:12 AM | #3 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
That's just it, ADE isn't skipping the pages, it is in fact showing both the cover page and the second page with a title on it. EPUBReader shows them as blank pages.
If the textual or image content isn't there, how on earth am I seeing it then? |
11-05-2010, 11:20 AM | #4 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
I load it into Sigil and I agree, there is no ontent on the first two pages.
But im I unzip the file and read the HTML files directly, there in infact content to the pages; SVG data pointing at those image files. This is all too wierd for me as two of my main epub software show blank first two pages (sigil even shows no content), but ADE correctly renders them. |
11-05-2010, 12:04 PM | #5 | |
Well trained by Cats
Posts: 30,120
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Sigil and some readers probably don't do SVG. (Sigil tends to 'tidy' (code) things up, which is why I did not see them . |
|
11-05-2010, 12:19 PM | #6 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Well that would explain it then. I'll raise a defect with Valloric as Sigil shouldn't be deleting SVG code.
As for EPUBReader, I thought Firefox could handle SVG, unless of course EPUBReader blocks access to the SVG rendering function. |
11-05-2010, 12:37 PM | #7 | |
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
Quote:
I checked additionally the svg code: Code:
<svg:svg viewBox="0 0 600 800"> <svg:image xlink:href="images/9781841541006_FrontCover.jpg" transform="translate(0 0)" width="600" height="800" /> </svg:svg> |
|
11-05-2010, 12:48 PM | #8 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Now that is odd behaviour, I'll have a go at manually adjusting the epub and I think I'll drop The Black Library a quick mail about this and see if they are aware about this book as the others work perfectly fine.
I agree about the image tag, until SVG support is improved across a wider range of reading devices, them <img> is a much better option. Thanks Guys for looking at this. |
11-05-2010, 02:05 PM | #9 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
As I replied to the issue, the problem is caused by the namespace prefixes. So just remove the "svg:" start of every element and it will work correctly in Sigil (and Sigil will also render the SVG).
The underlying bug is with Tidy. |
11-09-2010, 11:49 AM | #10 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
I mailed the Black Library regarding this and they have responded saying the following:
"Thank you, we have been reviewing our eBooks process and indeed will not be including SVG images in the future." So hopefully we wont see this issue cropping up any more from them. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blank Pages in EPub when Viewed on iPad | NewDay | ePub | 6 | 10-23-2010 03:08 AM |
epub -> mobi. Blank pages in Kindle 2, but not Kindle for PC | notyou | Calibre | 0 | 06-28-2010 08:06 PM |
Blank pages with iPad | timbgray | Calibre | 3 | 05-04-2010 09:43 PM |
Blank pages | JSWolf | Calibre | 4 | 11-29-2008 01:22 PM |
USA Today EPUB Blank Pages | Acey | Calibre | 1 | 10-07-2008 08:09 PM |