01-15-2010, 05:56 PM | #1 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
ADE bug in calculating width
I have a book I created (a Bible actually) in ePUB. I defined paragraphs but I wanted all the verses to begin at the start of a line. So for each verse I added a <br /> tag at the end. Some, of course, were longer than a line on the screen. When this happened ADE chopped the last few characters off the right edge of the screen before wrapping the line. I rebuilt it using only paragraphs and it wrapped fine. It seems ADE can't figure out how wide a line is if it is terminated with <br />. This is pretty basic stuff. I was surprised it was broke.
Dale |
01-15-2010, 09:56 PM | #2 |
Resident Curmudgeon
Posts: 75,811
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is that valid in XML?
|
Advert | |
|
01-16-2010, 01:15 AM | #3 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Anything is valid in XML so long as you specify a defined DTD. The question should have been is it valid in XHTML which defines both the XML and the DTD to to interpret it. The answer is yes more certainly <br /> is defined in XHTML which is the file format used in ePUB for eBook content.
Dale |
01-16-2010, 12:00 PM | #4 |
Wizard
Posts: 1,644
Karma: 17163744
Join Date: Sep 2008
Device: Kobo Clara 2E
|
I reported a similar bug to Adobe a month ago, which involves parentheses and <br>.
It looks like this: http://www2.mta.ac.il/~oravtali/ade-bug.png Code:
<body> <p> With opening parentheses<br /> (a long line [...] </p> <p> Without opening parentheses<br /> a long line [...] </p> </body> Of course, that isn't worth much until Sony and others update their firmware. |
01-16-2010, 12:24 PM | #5 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
Advert | |
|
01-17-2010, 09:04 AM | #6 |
Resident Curmudgeon
Posts: 75,811
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can someone post an ePub that shows this bug and I'll try it on a 900 and see if the bug sill exists.
|
01-17-2010, 09:33 AM | #7 |
frumious Bandersnatch
Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I was just preparing a test file to show other features, but thanks to this thread I could hunt down another bug that was bugging me, affecting centering with manual linebreaks.
In my Gen3, the centered heading with parentheses is not properly centered (the last line is more like right-aligned). Another issue is the very long paragraph has spurious pagebreaks appearing inside it. There's nothing weird in the paragraph, it's just a long one, but it seems the software cannot handle it all at once. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bizarre ADE bug with brackets | charleski | ePub | 4 | 08-12-2010 07:23 AM |
Page Width | kobo2010 | Kobo Reader | 4 | 05-10-2010 08:14 PM |
Using the width attribute | crutledge | Workshop | 8 | 07-06-2009 05:10 AM |
PRS-505 bug or eBookLib bug? | porkupan | Sony Reader | 3 | 10-07-2007 10:44 PM |
PRS-500 calculating page count | tor | Sony Reader Dev Corner | 1 | 03-22-2007 04:21 AM |