View Single Post
Old 07-03-2026, 08:54 AM   #23
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,330
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Siavahda View Post
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:
  1. The external font filenames are:
    Courier-Bold.ttf
    Courier-BoldItalic.ttf
    Courier-Italic.ttf
    Courier-Regular.ttf (or Courier.ttf I think)
  2. 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.

Last edited by jackie_w; 07-03-2026 at 09:25 AM. Reason: ETA: @font-faces
jackie_w is offline   Reply With Quote