Quote:
Originally Posted by Siavahda
I have no clue what I'm doing wrong here.
|
The following advice is for epub only (i.e. not kepub) on Kobos:
The fontname needs to be precisely
Courier not
Courier Prime. If you do it correctly [* see below] you won't need to embed the monospace font in the epub and a simple generic
font-family:monospace; in the epub CSS will suffice.
ETA: Also you won't need any @font-face statements for Courier in the epub's CSS.
[*] "Doing it correctly" means that the Kobo needs to "see" the 4 font files you copy to the Kobo /fonts directory as having the fontname
Courier not
Courier Prime. This involves 2 steps:
- The external font filenames are:
Courier-Bold.ttf
Courier-BoldItalic.ttf
Courier-Italic.ttf
Courier-Regular.ttf (or Courier.ttf I think)
- The *internal* font family name also needs to be Courier not Courier Prime. You can do this with a font editor (e.g. FontForge or ttfedit) to do this.
Step 2 is a PITA if you're not familiar with font editors so you could *try* step 1 only but if that doesn't work then you will need both steps. I know this works because it's what I have, i.e. 4 x 'Courier Prime' ttfs masquerading as Courier.