Quote:
Originally Posted by JSWolf
There was a trick to allow you to reference fonts from the fonts directory as though they were embedded fonts. I don't know if it still works in 4.32.
|
That still works for epub, although kobopatch
Default ePub monospace font was equally good. Neither ever worked for kepub.
Using your "Dark Courier" example, pre-4.32 all that would have been required for kepub was
- coding font-family:"Dark Courier";, rather than font-family:monospace; in the various CSS styles.
- making sure you had already sideloaded the Dark Courier*.ttf files.
As it stands in 4.32, for kepubs you also need to embed the "Dark Courier" ttfs and add @font-faces to CSS, instead of step 2. Not difficult for one book but incredibly tedious and a diskspace hogger if a lot of books are affected.
I think I'll solve my own problems by automating the embedding (when required) on-the-fly during calibre's send-to-device.
Trying to develop something generic which would work for all users, all abilities, any font(s) using KoboTouchExtended or Kepubify would be more of a challenge, I think.