View Single Post
Old 12-24-2012, 03:33 AM   #59
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: 6,193
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Doitsu View Post
how about simply adding a Small Caps button that'll wrap the text in <span style="font-variant: small-caps;">...</span>. It would be up to the user to make sure to either embed a font that supports small caps and/or choose a display font with small caps support.
I'm afraid that wouldn't help with Adobe-based readers. As far as I know, they just ignore "font-variant". The trick to make them work involves embedding and forcing a font that has only small-caps, and using it as if it were a normal font.

If those readers behaved as intended (as intended, that is, by the spec and the users), they would obey "font-variant" and use real small-caps if available or fake them otherwise.
Jellby is offline   Reply With Quote