Thread: Kobo Bug thread
View Single Post
Old 11-13-2019, 06:35 PM   #1166
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,973
Karma: 71261339
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by jackie_w View Post
Not exactly, life's never quite that simple, but that is the first step you'll need to take.

The rest of the workaround/solution is different for kepubs than for epubs. I'm not sure which you use.

For kepub this post has more details. Note: If you're not a kobopatch user miss out step 2, but then you would need to set the Kobo [Aa] font menu to 'Publisher Default' to see the mono font in the book.

For epub the best approach will depend on whether you're also a kobopatch user.
  • If you're not a kobopatch user then look at the monospace @font-faces in at the beginning of this ancient post which tells you how to reference a sideloaded font from the CSS inside an epub. You need to include these @font-faces in every epub which needs a mono font. This is tedious if you do it manually but if you're a calibre user you can use the 'Modify CSS' (with kobo_extra.css) option in the calibre KoboTouch driver to do all the work during calibre send-to-device.
  • If you are a kobopatch user then life becomes much easier. Just enable the patch called 'Default ePub monospace font (Courier)' customised with the name of your sideloaded mono font of choice.

Just for completion, embedding a monospace font in the standard way will work for both kepub and epub.

So, in all, that gives 4 different ways to the same visual result. Whether you like any of them may be another story
Let me rephrase...

For epubs, with stock firmware, no special config file settings, no patches... If a font family of monospaced is specified in the epub, and I put a monospaced font in the "fonts" directory, will the font get used?

I want to know if I purchase an epub that specifies a non-embedded monospace font, the monospaced font will be used (with no modifications needed).
John F is offline   Reply With Quote