09-22-2013, 03:42 AM | #1 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Conditional CSS for ADE readers
Hi,
I have an ePub with Greek characters as well as words placed in emphasis with letter-spacing instead of italics. For ADE readers, I'm embedding a font. What I'd like is for ADE readers to use that font with a specific line-height and default font size. For the letter-spacing, I've specified that although since ADE doesn't support it, I'd like a custom font used in that case. The ADE specific xpgt file seems to be the way although I haven't spent much time figuring how to do it with that. I think that would cover all cases: ADE would use the custom font, and all others readers, would likely support letter-spacing. If that's the preferred method, any examples would be helpful. Thanks. |
09-22-2013, 04:05 AM | #2 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
"letter-spacing" is not a required property in the ePub 2 spec, so there could be many other readers that don't support it, other than ADE.
|
Advert | |
|
09-22-2013, 04:41 AM | #3 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Ah. I thought that would be a likely response. The epub isn't for commercial purposes but for several friends so I think any of those cases I can ignore for the moment. Though, I am curious which readers don't use ADE and also do not use a modern HTML like likely all tablets and smart phones.
|
09-22-2013, 05:15 AM | #4 | ||
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
(This method was used in the (FRAKTUR).epub file only.) |
||
09-23-2013, 09:10 PM | #5 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Thanks Doitsu,
I was able to figure it out. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ADE breaks CSS --> CSS Validation: Parse Error / Value Error | dasboeh | ePub | 4 | 12-10-2012 03:25 AM |
CSS troubles in ADE | xmlgirl | ePub | 7 | 03-26-2012 12:50 PM |
css formatting not showing in ADE? | bfollowell | Sigil | 9 | 10-09-2011 07:28 PM |
ADE mit userstyle css | mtravellerh | PocketBook | 0 | 05-21-2010 03:40 PM |
Conditional CSS rules | Jellby | ePub | 10 | 01-20-2009 08:32 AM |