View Single Post
Old 10-10-2022, 07:19 PM   #3
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: 79,795
Karma: 146391129
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 hobnail View Post
A perennial gripe of mine is that the Kobo doesn't support monospace out of the box the way the Kindle does. E.g.,
Code:
.monospace {
  font-family: monospace;
}
Won't work unless you embed the font in the epub, or install one, Courier I think, and you have to name it a certain way.

So I'm guessing that none of those will work on a Kobo, although I don't know what would happen if you had embeded the font or installed Courier.
The font has to be internally named Courier (I also externally named it Courier just to be safe) and put in the fonts directory. This only works for ePub. For KePub, you do have to embed a monospace font.
JSWolf is offline   Reply With Quote