View Single Post
Old 08-21-2022, 12:40 PM   #55
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,255
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Does ePub's font-family: monospace; still work for Courier New without the need to embed?
Supposedly. You'd need to try it yourself to be absolutely sure. On my own Kobos I've sideloaded a copy of Courier Prime which I'd previously used a font editor to change its internal font name to simply Courier. That definitely works, but I never bothered to check whether the font editor renaming was actually superfluous.

Quote:
Originally Posted by JSWolf View Post
Does monospace work for kePub or does a monospace font have to be embedded.
This is what *you've* already said:
Quote:
Originally Posted by JSWolf View Post
As for KePub, you do have to actually embed the font.
This is what *I've* already said:
Quote:
Originally Posted by jackie_w View Post
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.
Haven't we both just said the same thing? IOW if you want to use a monospace font in a kepub, since fw 4.32 there are no fancy tricks remaining which avoid you having to physically embed the font.

More generally (unless I've missed something) no sideloaded font can be referenced from within a kepub except when you choose your main font from the [Aa] menu.

As an aside, no specific action is required for the generic font-family:sans-serif; to work for both epub and kepub. Both will use the built-in system font Avenir.
jackie_w is offline   Reply With Quote