View Single Post
Old 07-30-2011, 04:18 AM   #11
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: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Code:
span.smcap {
   font-variant: small-caps
}
Does not work in ADE. So if your ePub is going to eventually be used with ADE, you'll have to do it another way which is to change the font size to 75% and use caps in the text unless you are embedding fonts and you can then use a smallcap font.
That becomes a code mess if you haved MIXED CASE SMALL-CAPS.

Unless the small-caps are critical, I prefer leaving the font-variant and hoping it will be supported at some point in the future. ADE supports hyphenation and ligatures now, so maybe it's not a lost cause.

Quote:
Originally Posted by user_none
If I remember correctly small caps is not part of the EPUB spec. So support for it I'd hit or miss depending on the viewing application.
It is a required part of the spec. text-transform is not, though.
Jellby is offline   Reply With Quote