|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,671
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
This is the ePub forum. ADE is the reader that most use to display ePub. Since it doesn't work in ADE, it doesn't work.
|
![]() |
![]() |
![]() |
#17 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,050
Karma: 307935764
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,671
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
ADE & the ePub 2 spec do not support media queries. I just found the answer on Adobe's support forum and Jim Lester confirmed this.
http://forums.adobe.com/message/4325696?tstart=0 |
![]() |
![]() |
![]() |
#19 | |||||
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
The EPUB 2 specification does require readers to ignore anything that they do not understand, which ADE does not, and thus ADE does not comply with the specification as published. Quote:
Quote:
Quote:
Quote:
Last edited by dgatwood; 01-18-2013 at 08:06 PM. |
|||||
![]() |
![]() |
![]() |
#20 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,671
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It doesn't matter that the spec says to ignore stuff. If epubcheck 1.1, 1.2, aND MAYBE 3.0 flags it as an error, then it won't be put up for sale.
So go put in the media queries to do the image selection based on screen size and see if it actually validates in all those versions of epubcheck. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
1. From what I've seen, the ADE-compatible readers on iOS appear to be built on top of WebKit rather than Adobe's rendering code, so there is a fair chance that they will handle media queries even though ADE on other platforms does not. 2. It is not a foregone conclusion that most iPhone and iPad users use an ADE-based reader rather than iBooks. ![]() |
|
![]() |
![]() |
![]() |
#22 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,671
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
That said, I just did an experiment, and can confirm that Sony, Bluefire, and Nook on iOS barf on media queries in the same way that ADE does on the desktop, sadly. Ah. I just figured out which reader it was. Kobo. It's ADE-compatible (as in, it can read EPUB files with ADE DRM), but it uses WebKit for the rendering, supports CSS3 media queries, and even supports fun WebKit-specific variants of CSS3 properties, such as -webkit-border-radius. Last edited by dgatwood; 01-18-2013 at 09:35 PM. |
|
![]() |
![]() |
![]() |
#25 |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
I don't have a new Kobo reader, so I can't check this, but it may be that the kepub renderer uses webkit, but I'm pretty sure any renderer that understands Adobe DRM has to be using the Adobe renderer. That's what I was told a couple of years ago.
I'm not sure how to create test cases for this either, without going through Kobo's Writing Life and getting both the kepub and DRM'd epub to check and compare. |
![]() |
![]() |
![]() |
#26 |
Bookaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
IIRC that's correct. They use WebKit for kePub and the RMSDK for ePub (or at least DRM'd ePub's if not all).
|
![]() |
![]() |
![]() |
#27 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,527
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Just out of curiosity: How would you write a code to select images based on screen size or orientation based on media queries that would degrade gracefully in a theoretical perfectly-ePub-and-only-ePub-compliant reader?
|
![]() |
![]() |
![]() |
#28 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
Code:
<div id="myimage"></div> myimage { background-image: .... default image here } @media ... { .myimage { background-image: ... width: ... min-width: ... height: ... min-height: ... } } or Code:
<div class="smallDevice"><img src=... /></div> <div class="mediumDevice"><img src=... /></div> <div class="largeDevice"><img src=... /></div> .smallDevice { display: none; } .mediumDevice { display: block; } .largeDevice { display: none; } @media screen and (max-device-width: 720px) { .smallDevice { display: block; } .mediumDevice { display: none; } } @media screen and (min-device-width: 2000px) { .mediumDevice { display: none; } .largeDevice { display: block; } } |
|
![]() |
![]() |
![]() |
#29 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,527
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#30 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
![]() *sigh* |
|
![]() |
![]() |
![]() |
Tags |
epub, formatting images, image size, images, kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB -> Mobi = 4x larger file size. (4mb -> 16mb) | Muckraker | Conversion | 20 | 03-17-2012 10:02 AM |
Give me one good reason why I shouldn't sell my DX and buy an iPad ... | Sheikspeare | Amazon Kindle | 106 | 10-01-2010 02:28 AM |
Images too wide for Nook Screen | js4c | Calibre | 7 | 07-29-2010 04:46 PM |
【Best PDF Size】I find The reason of slowing When Read PDF file | linlance | Sony Reader | 0 | 03-11-2010 08:13 AM |
Auto Rotation of Wide Images | DoctorOhh | Calibre | 0 | 10-15-2009 08:14 PM |