Quote:
Originally Posted by mirage
It's not in any of the css files.
Here's what the opf file contains for an invalid example of this:
Code:
<item href="fonts/Shift-BoldItalic.otf" id="Shift-BoldItalic.otf" media-type="application/vnd.ms-opentype"/>
<item href="fonts/Shift-Light.otf" id="Shift-Light.otf" media-type="application/vnd.ms-opentype"/>
|
For epubcheck to be happy, you need to change "application/vnd.ms-opentype" to "font/otf". What I find funny is that instead of complaining about the font media-type in the content.opf, epubcheck complains about where the font-family entry is found either in a stylesheet or in a style declaration in a xhtml file.