Quote:
Originally Posted by jackie_w
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.
|
Thank you for all of this.
I do have Courier Prime as my monospace font for ePub. I'm going to have to test out if the added weight will work for Courier Prime if used as font-family: monospace; in ePub.