View Single Post
Old 03-04-2022, 07:37 AM   #43
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,228
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Karellen View Post
Thanks for that. I just noticed that font-variant: small-caps; was not working on my Libra 2 with epubs and was researching why.

Looks like I'll have to stick with the following in the CSS

PHP Code:
.smallcaps {
  
font-size0.7em;
  
text-transformuppercase;

The reason smallcaps is not working with ePub on your Libra 2 is because the version of RMSDK that's used for ePub is too old. Kobo really needs to use a newer version.

And as for your CSS, the font size should be 0.8333em. And I'm not sure that the text-transform to uppercase works or not with ePub and if that is the case, you'll need to drop it and make sure the text is uppercase.

Last edited by JSWolf; 03-04-2022 at 04:53 PM.
JSWolf is offline   Reply With Quote