View Single Post
Old 12-23-2014, 04:58 PM   #11
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,254
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
The book I am trying to fix is The Martian by Andy Weir. The problem is that the embedded fonts are some sort of free serif, freemono, and freesans. They are way too light for eInk and I did replace the main font and that worked fine. The sans-serif font is tolerable but the default sans-serif font is better. The mono font is lousy. It's very light. When using an external light source, I can read it. But using the front light, it's barely readable. Dark Courier is so much better.

I tried monospace with a div and that did not work. I tried the patch that jackie_w posted and that did not work. I'm beginning to think there is no monospace font.
No, perhaps you misunderstood what icallaci said - Kobo has no built-in monospace font (surprising, I know). You need to
- sideload a monospace font (like Dark Courier) and
- do the kobo_extra.css trick from the post #3 link and
- at least one of the other 3 options (<div>, <span> or my special Patch).

The kobo_extra.css will then add the monospace @font-faces to every epub you subsequently send-to-device with calibre. Most epubs won't need or use it but those that contain instances of font-family:monospace should use it correctly.
jackie_w is offline   Reply With Quote