Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2010, 09:23 AM   #1
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Known bugs in ADE

As Valoric suggested, I've compiled a list of the bugs that are known to exist in Adobe Digital Editions. Since it's unlikely that these bugs will be fixed (especially in the firmware of reading devices), the only option is to be aware of them and any possible workarounds.

Bugs in all versions

1 Centering horizontal rules
The attribute 'text-align' is not implemented for the hr tag, thus 'text-align: center' has no effect on a horizontal rule.
Workaround: set the left and/or right margin to half the width of space left over from the horizontal rule, e.g.:
Code:
hr {
   width: 50%;
   margin-left: 25%
   }
2 Arbitrary break in long paragraphs
Very long paragraphs may display with arbitrary page breaks, leaving large gaps at the bottom of the page. The actual length required to trigger this behaviour changes depending on surrounding text, but it seems the paragraph needs to be longer than 1024 characters.
Workaround: none known

3 Text shifted to right after a br tag in centered text
If the text in centered and one of the following characters is the first to be displayed after a line-break that has been forced by a br tag, then the text on that line will be shifted to the right by 0.8em: '(' '{' '[' and em-dash
Workaround: wrap the text on the line after the break in a span which has the attribute 'margin-left: -0.8em;'

Bugs in specific versions

1 Multi-level ToC entries lose the first level
[Desktop ADE 1.72] If the table of contents contains three or more levels, then the first level of entries will not be displayed. This only applies if there is only one ToC entry at the first level, e.g. if the ToC has the following layout then the first-level entry will not appear:
Code:
First level
   Second level
      Third level
      Third level
   Second level
      Third level
Workaround: ensure that your ToC has two or more first-level entries.

Bugs in the epub spec
These are often reported as bugs in ADE, but are in fact the result of it adhering strictly to the current epub or css specs.

1 Margins lost with a page break
If a block element is styled with the page-break-before/after: always attribute, then the top margin for the first element on the new page will be set to 0 no matter what is specified in the css. This is correct according to Section 13.3.3 of CSS 2.1:
Quote:
In the vertical margin between block boxes. ... When a forced page break occurs here, the used value of the relevant 'margin-bottom' property is set to '0'; the relevant 'margin-top' used value may either be set to '0' or retained.
Workaround: use the padding-top attribute instead to force a top margin on the first element of the next page.
note: This only applies to page breaks that are forced through the use of the css 'page-break-*' attribute. Page breaks caused by a new xhtml flow will respect the block margins properly.

2 Margin: auto fails to work
While margin: auto is supported in the epub spec, it also specifically allows it to be forced to 0 in Section 3.3:
Quote:
Reading Systems may set the value of any margin property whose specified value is auto to 0.
Workaround: avoid the use of margin:auto. EricDP has posted an example of how to simulate its function on centered text using display:inline-table here.

3 Floated elements don't display in full
Any element which has a float or other positioning attribute applied to it exists outside the normal document flow. Since css2 doesn't have a proper page model, it fails to specify how user agents should handle floated elements that are larger than the size of the page.
Unfortunately, the interpretation used by ADE is not particularly friendly. Floated elements will only display on the page on which they are first encountered. Any content which overflows the lower page boundary is lost. Furthermore, under some circumstances the first line of any text block that follows the float (through the application of a 'clear' attribute) may be lost as well.
Workaround: avoid large floated elements, particularly large blocks of text, though this also applies to images. In particular, avoid floating elements around empty space, as this may lead to some loss of the following text.


Error handling issues

1 ADE doesn't show any css styling
This is caused by an error in the css file, most commonly a misspelling or missing semi-colon. The css code must be completely free of errors or ADE will disregard everything and revert to the default styles.

There is a convenient tool to check your css at w3. If you have embedded fonts, then the code for the font-embedding will always produce errors as the validator can't access the relevant urls, but these reports can be disregarded.

These are the bugs I could find that have been reported in this forum. Please post any additions if I've missed something out.

Last edited by charleski; 12-22-2010 at 06:35 AM.
charleski is offline   Reply With Quote
Old 08-15-2010, 09:48 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by charleski View Post
1 Centering horizontal rules
The attribute 'text-align' is not implemented for the hr tag, thus 'text-align: center' has no effect on a horizontal rule.
Workaround: set the left and/or right margin to half the width of the horizontal rule, e.g.:
Code:
hr {
   width: 50%;
   margin-left: 25%
   }
I think this is slightly wrong. You need to set the margin to half the width of space left over by the horizontal rule. Eg, if you want a rule that's 70% of the page width, that leaves 30% remaining, so you'd set the left margin to half of that space, or 15%:

Code:
hr {
   width: 70%;
   margin-left: 15%
   }
HarryT is offline   Reply With Quote
Advert
Old 08-15-2010, 12:28 PM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,537
Karma: 19000627
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by charleski View Post
1 Margins lost with a page break
If a block element is styled with the page-break-before/after: always attribute, then the top margin for the first element on the new page will be set to 0 no matter what is specified in the css. This is correct according to Section 13.3.3 of CSS 2.1:

Workaround: use the padding-top attribute instead to force a top margin on the first element of the next page.
note: This only applies to page breaks that are forced through the use of the css 'page-break-*' attribute. Page breaks caused by a new xhtml flow will respect the block margins properly.
You can also use a dummy element for a pagebreak, like this:

Code:
div.pagebreak {
  page-break-before: always;
  height: 0;
  padding: 0;
}

<p>... text before the pagebreak</p>

<div class="pagebreak">&nbsp;</div>

<h3>After the pagebreak</p>
I'm not sure now whether ADE would accept the short and empty form: <div class="pagebreak" />, if it does, that's cleaner. The drawback is you cannot include this forced pagebreak in the CSS for h3.
Jellby is offline   Reply With Quote
Old 09-11-2010, 08:01 AM   #4
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Hey guys, can we sticky this and then develop it as a useful resource .... ?
GeoffC is offline   Reply With Quote
Old 11-25-2010, 04:17 PM   #5
hpstricker
Member
hpstricker began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2008
Device: Sony PRS 505, iPad
You may call it a "missing feature", I'd like to call it a bug: the missing Back-button in ADE (but also, as I have seen it in the iPad) make internal links partly useless.

Last edited by hpstricker; 11-26-2010 at 04:21 AM.
hpstricker is offline   Reply With Quote
Advert
Old 11-25-2010, 04:17 PM   #6
hpstricker
Member
hpstricker began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2008
Device: Sony PRS 505, iPad
Put an image inside an <a href> tag, and the image won't be sensitive: the link doesn't work.

Last edited by hpstricker; 11-26-2010 at 04:23 AM.
hpstricker is offline   Reply With Quote
Old 11-25-2010, 05:10 PM   #7
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Quote:
Originally Posted by hpstricker View Post
Images not hyperlinkable
If you put the image in a p class tag then you can hyperlink them.

Code:
<p class="image"><a href="Contents.xhtml"><img src="images/CH04.jpg" alt="4" width="100%" /></a></p>
Adjust is offline   Reply With Quote
Old 12-02-2010, 02:29 PM   #8
hapax legomenon
Erotica Writer
hapax legomenon doesn't litterhapax legomenon doesn't litter
 
hapax legomenon's Avatar
 
Posts: 102
Karma: 106
Join Date: Jul 2007
Location: Tulsa, OK
Device: ipad, Sony Reader PRS 505, Cybook 3
A stupid question: does this affect only Adobe DE desktop software or does this also affect ebook reading devices as well?

If it affects devices, which devices? I would guess that Sony renders epub through Adobe DE firmware. Are there other devices which do the same thing?
hapax legomenon is offline   Reply With Quote
Old 12-11-2010, 09:50 PM   #9
hapax legomenon
Erotica Writer
hapax legomenon doesn't litterhapax legomenon doesn't litter
 
hapax legomenon's Avatar
 
Posts: 102
Karma: 106
Join Date: Jul 2007
Location: Tulsa, OK
Device: ipad, Sony Reader PRS 505, Cybook 3
Here is a list of devices which use the Adobe parser http://blogs.adobe.com/digitalpublis...ported-devices
hapax legomenon is offline   Reply With Quote
Old 12-12-2010, 07:34 PM   #10
mlewis78
Guru
mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.mlewis78 ought to be getting tired of karma fortunes by now.
 
mlewis78's Avatar
 
Posts: 885
Karma: 6449772
Join Date: Jan 2010
Location: New York City
Device: Kindle Oasis 2 (7"); HDX 8.9"; Ipad2
What about other ADE bugs, which make ADE unusable on my laptop now? I posted this in another thread just now, but ever since I added a library adobe epub file that was corrupt, I have a message in my ADE display that says "verifying file". It's in a box and won't go away, so ADE is frozen and unusable. I've uninstalled ADE and downloaded again, but the same thing keeps showing up. I've tried uninstalling several times with no good results.
mlewis78 is offline   Reply With Quote
Old 12-22-2010, 06:42 AM   #11
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by mlewis78 View Post
ever since I added a library adobe epub file that was corrupt, I have a message in my ADE display that says "verifying file". It's in a box and won't go away, so ADE is frozen and unusable
I'm afraid this is a problem related to your particular system. This list is only aimed at rendering bugs and other issues with ADE that will affect everyone. From looking at your thread it seems your problem lies with Kaspersky and a corrupt downloaded file.
charleski is offline   Reply With Quote
Old 01-03-2011, 06:21 PM   #12
Bonex
Connoisseur
Bonex began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Oct 2010
Device: KDXG, Kobo Glo, Kobo Aura HD
I used a different workaround for bug 3 (Text shifted to right after a br tag in centered text).
If you add a &nbsp; at the beginning and ending of the line, the text stays centered. In this way you don't risk to have the text moved left using a different viewer.
Example:

<p style="text-align: center;">This is a normal line<br />
(this one will be moved right in ADE)<br />
&nbsp;(this one should be centered)&nbsp;</p>
Bonex is offline   Reply With Quote
Old 04-15-2011, 09:47 AM   #13
soparch
Enthusiast
soparch began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
Quote:
Originally Posted by Adjust View Post
If you put the image in a p class tag then you can hyperlink them.

Code:
<p class="image"><a href="Contents.xhtml"><img src="images/CH04.jpg" alt="4" width="100%" /></a></p>
I have a book in which all the chapter headings are images. I have used a p class but they still don't work in ADE.
<p class="center1" id="chap1"><a href="../Text/TOC.xhtml#ch1"><img alt="" src="../Images/foreword.jpg" /></a></p>

Am I missing something?
Soparch
soparch is offline   Reply With Quote
Old 04-16-2011, 02:33 AM   #14
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Take a look here...I've supplied an example epub

https://www.mobileread.com/forums/sho...05#post1236105
Adjust is offline   Reply With Quote
Old 08-16-2011, 03:12 PM   #15
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Just to add a small note: ADE all versions bug #3 also applies to text aligned to the right.

And thanks for this sticky! I just spent an hour trying to figure out wat was happening with a line that ended off-screen (right aligned text, right margin at 0). Now I can rest easy, knowing it's just Adobe's fault

Last edited by quisvir; 08-16-2011 at 03:20 PM.
quisvir is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Some bugs in 1.3 rfog Barnes & Noble NOOK 23 06-21-2010 04:42 PM
What bugs you SameOldStory Reading Recommendations 28 05-24-2010 11:23 PM
Seriously thoughtful bugs GeoffC Lounge 5 11-21-2009 04:42 AM
How to report bugs in Adobe Digital Editions (ADE) pdurrant ePub 1 09-04-2009 01:03 PM
Bugs ? hannah Calibre 4 06-15-2009 07:51 AM


All times are GMT -4. The time now is 12:51 AM.


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