Quote:
Originally Posted by snarkophilus
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.
|
Attached is a screenshot from my Clara HD. This is with the font set the "Publisher default". The different lines all look like what I expect they should. This is with the style for monospace test as:
Code:
.generic-monospace{font-family:"Courier New", monospace;}
I added the "Courier New" earlier and forgot to take it out.
The monospace font I am using is "Courier Prime" from the first link I found when searching earlier today. The file names in the "fonts" directory are:
Code:
Courier Prime.ttf
Courier Prime-Bold.ttf
Courier Prime-BoldItalic.ttf
Courier Prime-Italic.ttf
I don't have any other sideloaded fonts, and I don't use any patches or other hacks.
When I tested this before it was on my Aura ONE. I'll recheck that as I think I used a different Courier font. I think the only difference is that I used the single letter for the type of font.