Quote:
Originally Posted by nabsltd
Old-style number support in e-readers is definitely bad, especially considering that if you have a half-decent HTML/CSS renderer and an OpenType font that is set up for them, it's actually easy:
Code:
font-feature-settings: "onum" 1;
There are some readers that support this, but others ignore it. Worse, though, is Kindle, which will silently do the equivalent of the above line with the following CSS:
Code:
font-variant: small-caps;
text-transform: lowercase;
This is a common method used to end up with small caps when the source text is all uppercase. But, Kindle gives it what might be an unwanted side-effect.
|
The correct CSS for smallcaps is...
Code:
text-transform: uppercase;
font-variant: small-caps;
You need the text top be uppercase before it can be converted to smallcaps.