Quote:
Originally Posted by JSWolf
I wonder if the code you could have used in the CSS to embed fonts that live in the fonts directory still works. I'll have to give it a try when I get a chance.
|
It still works in epubs if you want to apply it per book. However, for epubs, it's always been more convenient to use the patch in librmsdk.so.1.0.0.yaml to achieve the same thing at system level, i.e. if you change your mind about which default mono font you want you wouldn't need to resend the books. Or, even easier, just sideload a font named Courier-
something and you don't need patches or special CSS.
None of those options has ever worked for kepubs.
Pre fw 4.32 it used to be easy in kepubs. If you had a sideloaded "My Great Mono" font all you needed to do was code your book CSS as font-family:"My Great Mono" and the kepub reading app would find the relevant font in your sideloaded fonts directory. No @font-face code required at all.
Since fw 4.32 the only way I've found to use a specific mono font in a kepub is to embed it using the usual epub standards for embedding.