Quote:
Originally Posted by jackie_w
Actually, no. The code you posted was specifically aimed at *not* needing to physically embed a monospace font in epubs if the epub contained font-family:monospace somewhere in its CSS file. As I've already said it probably still works but these days there are easier ways to achieve the same result.
Font handling in kepubs has always been completely different. Everything I know about monospace in kepubs I've already written in post #48.
|
Some of this you may have already said.
I've done some testing. The code to embed a font in the fonts directory works in ePub. But when I just referenced the font's internal name, it did not work.
One thing I did not know. The eBook I was testing has an embedded font referenced with a span. When I changed the weight of the font I has selected in the font menu, the embedded font also has the weight changed. This can be the real embedded font or the embedded font referenced from the fonts directory.
As for KePub, you do have to actually embed the font.
A couple of things I forgot to test. Does ePub's font-family: monospace; still work for Courier Prime without the need to embed? Does monospace work for kePub or does a monospace font have to be embedded.