Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2009, 05:24 AM   #1
Lord KiRon
Connoisseur
Lord KiRon began at the beginning.
 
Posts: 85
Karma: 44
Join Date: Jul 2007
Device: Sony PRS-500, PRS-505
Bug in Adobe EPUB implementation

The Adobe EPUB implementation (both ADE and Sony) has a bug related to CSS settings.
Look here:


This is result of rendering this file:

Bad File

However here is the same file with one small differences that get displayed correctly:
Good File

The only difference between them is one line in CSS (CSS\default.css) :

Quote:
p {
margin: 0px;
text-indent: 1.5em;
text-align: justify;
display: inline-block
}
The "bad" file has it, the "good one" does not.
Lord KiRon is offline   Reply With Quote
Old 09-05-2009, 06:27 AM   #2
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: 6,001
Karma: 4346921
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You'll be "delighted" to know that's not the only glitch in ADE

However, note that the current ePUB spec does not support "display: inline-block;". Anyway, showing paragraphs as inline-block is probably not what you want.
Jellby is offline   Reply With Quote
Old 09-05-2009, 08:43 AM   #3
Lord KiRon
Connoisseur
Lord KiRon began at the beginning.
 
Posts: 85
Karma: 44
Join Date: Jul 2007
Device: Sony PRS-500, PRS-505
Quote:
Originally Posted by Jellby View Post
You'll be "delighted" to know that's not the only glitch in ADE
Same bug in Sony readers, tested on PRS-505 and 600. There it become even worse.


Quote:
Originally Posted by Jellby View Post
Anyway, showing paragraphs as inline-block is probably not what you want.
Actually I do, the problem is that files I cave converted from FB2 that put almost any line inside <p> that is OK for FB2 readers BUT when converted to EPUB it creates huge space between "paragraphs" and this does not look good.
Lord KiRon is offline   Reply With Quote
Old 09-05-2009, 09:06 AM   #4
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,862
Karma: 85498352
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Sony readers display ePub using Adobe software. It's the same 'bug'.

I'd suggest adding

margin-top:0;
margin-bottom:0;

to your p CSS, rather than using an attribute which isn't supported in the ePub specification. (See http://www.idpf.org/2007/ops/OPS_2.0...tml#Section3.3 "Visual Display Model")

Quote:
Originally Posted by Lord KiRon View Post
Same bug in Sony readers, tested on PRS-505 and 600. There it become even worse.



Actually I do, the problem is that files I cave converted from FB2 that put almost any line inside <p> that is OK for FB2 readers BUT when converted to EPUB it creates huge space between "paragraphs" and this does not look good.
pdurrant is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious Quirk- Cursed epub or bug? p_a_smith Kobo Reader 4 09-15-2010 12:02 AM
iBooks - ePub - Linking Bug lcoleman79 Apple Devices 2 06-30-2010 11:06 AM
0.6.37 convert to ePub bug(?) cutterjohn42 Calibre 1 02-05-2010 09:14 AM
Adobe epub or Adobe Digital Edition? Davimee Astak EZReader 11 01-17-2010 08:15 PM
Seriously thoughtful What reader has the best epub implementation Ralph Sir Edward Lounge 3 12-07-2009 03:59 AM


All times are GMT -4. The time now is 06:10 AM.


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