Quote:
Originally Posted by davidfor
A discussion about the change for monospace fonts started in the patch thread that really should be here...
|
Thanks David.
Quote:
I don't have the device I tested this on with me. But, I did have a different test book with some monospace in it. I don't remember which font I used before, but "Courier Prime" worked.
[ ... ]
The book was one posted here a while ago with the title "Simple Generic Font Family Test (and fall back Test) for epub". I have attached to save the trouble of searching for it.
|
When I open that test book on my Kobo and go to the monospace section, the heading and all four styles (regular, italic, bold, bold italic) appear to be in a bold italic monospace font. Note I say "appear", because looking at the Courier Prime font with Windows' font viewer shows the regular style is a dark/think font anyway.
The rest of your test epub seems to work as expected. The serif, cursive and fantasy sections all use the standard font (either my preferred Bookerly or the Publisher Default font), and sans-serif section uses a sans-serif font.
Does that help pin-point the problem?
I'll experiment with removing the "Courier New" out of the CSS in this book, but longer term it'd be nice if I didn't have to tweak the CSS for a monospace font to work.