![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
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. |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
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 | |
|
![]() |
#3 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
Ah. I thought that would be a likely response.
![]() |
![]() |
![]() |
![]() |
#4 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
(This method was used in the (FRAKTUR).epub file only.) |
||
![]() |
![]() |
![]() |
#5 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
Thanks Doitsu,
I was able to figure it out. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |