Quote:
Originally Posted by JSWolf
When you do your testing can you please also test the following code? It does work in calibre. I created a second CSS with just that code and it's the second stylesheet listed in the HTML. So if it fails, it won't cause a problem. It does not work in Thorium Reader (2.3.0) for Windows.
Code:
@supports (font-variant: small-caps) {
small {
font-size: 1em;
font-variant: small-caps;
text-transform: lowercase;
}
|
Thank you! I've tried it and it works on some, I didn't have time to do a full testing. One thing of note, the TTS wasn't tripped by the mixed tagging regular+small caps, it only read the ARIA labels (like page breaks labeled as such etc.).
Also, the fixed font height for the fake small caps worked better in some cases than others -- ideally, small caps are always x-height, but the x-height varies from font to font.