View Single Post
Old 07-23-2025, 03:48 PM   #296
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,061
Karma: 147983159
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 Moonbase59 View Post
Out of interest, why did you find the need to modify the font instead of using CSS?

You could, normally, use features like

Code:
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" "lnum";
or

Code:
  font-variant-numeric: proportional-nums oldstyle-nums;
  font-feature-settings: "pnum" "onum";
(If possible, don’t use font-feature-settings but the higher-level font-variant-numeric above.)

I also like Charis SIL v7, and it works nicely in my test file:
The problem is that if you use ePub on a Kobo, you cannot use the code you posted to make changes to how the font displays. ePub works and an old version of RMSDK. You would need to read KePub.
JSWolf is offline   Reply With Quote