![]() |
#31 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I don't know what's the reason for the crash, but "foreground-color" is not a supported CSS property (in the spec), and "boldest" is not an allowed value.
|
![]() |
![]() |
![]() |
#32 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,326
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
foreground-color, boldest: Wonder where I got that idea from ![]() (I must get rid of of my really old HTML notes) THNX |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,326
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#34 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Nevertheless, ADE should not crash. Never. If it crashes, it's a bug.
And the CSS spec says unknown properties or values should just be ignored. So using "foreground-color" or "boldest" should not harm in a well-behaved renderer, they'd just do nothing. |
![]() |
![]() |
![]() |
#35 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Attached it the FIXED .epub version, that doesn't crash ADE, for those so interested!
By the way, it was the keyword "boldest" that caused that crash. Using "bold" allowed ADE to function properly!!! ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,326
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I can confirm, once I cleaned up the stylesheet (errors), it work pretty good on my PEz. ( I went with numeric font weights)
|
![]() |
![]() |
![]() |
#37 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2012
Device: IPad, Kindl, Nook, Sony Reader, Ibis, ADE
|
ADE Font Bug
Hello,
another bug that I have just recognized with 1.7.2 is related to font embedding. Aparently it seemed to work for some fonts of my sample epub file but not all. Later on I realised the issue seems related to the file size of the fonts. One of my fonts was 112kB whereas the others just around 60 kB. Once I made it smaller, it embedded fine. And good news the 1.8 Preview version doesnt display this problem. |
![]() |
![]() |
![]() |
#38 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,769
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#39 | ||
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Quote:
![]() ![]() |
||
![]() |
![]() |
![]() |
#40 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
Media queries don't work. ADE don't just ignore the media query, it ignores the entire css if you have media queries in it. Sucks.
|
![]() |
![]() |
![]() |
#41 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Media queries are not supported in ePUB2, they are in ePub3. ADE does not work with ePUB3 yet.
|
![]() |
![]() |
![]() |
#42 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
But it would be nice if ADE didn't ignore the entire css just cuz you add a couple of lines in the css for media queries for mobile phones.
|
![]() |
![]() |
![]() |
#43 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
|
If the CSS isn't valid, ADE won't use it. You can consider this a known issue (it's hard to argue that it's a 'bug').
|
![]() |
![]() |
![]() |
#44 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
But ADE is a bit particular about what is a "valid" CSS. The CSS spec says that if a renderer doesn't know about some property, it should just ignore it (the property), ADE somehow decides that an unknown property means the CSS is invalid and it ignores it (the whole CSS file).
|
![]() |
![]() |
![]() |
#45 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2012
Device: all
|
I have found that ADE tolerates both '@media amzn-mobi' and '@media amzn-kf8' without ignoring the whole CSS file. Anything else (that I've tried) causes ADE to ignore the whole CSS file, even 'not amzn-mobi'. Has anyone had any success with any other media queries?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic Some bugs in 1.3 | rfog | Barnes & Noble NOOK | 23 | 06-21-2010 03:42 PM |
What bugs you | SameOldStory | Reading Recommendations | 28 | 05-24-2010 10:23 PM |
Seriously thoughtful bugs | GeoffC | Lounge | 5 | 11-21-2009 03:42 AM |
How to report bugs in Adobe Digital Editions (ADE) | pdurrant | ePub | 1 | 09-04-2009 12:03 PM |
Bugs ? | hannah | Calibre | 4 | 06-15-2009 06:51 AM |