Quote:
Originally Posted by JSWolf
I use application/x-font-ttf and epubcheck 3.0.1 is happy with it.
|
epubcheck 3.0.1 doesn't validate font mime type.
epubcheck 4 (alpha11) checks font mime type, but
it isn't strict.
It really looks for
"font" string in mime type, so it is happy with such mime types:
- application/x-font-ttf
- application/x-font-truetype
- application/font-sfnt
- font/ttf
But throws warning in this case "
application/x-fo1nt-truetype":
WARNING(CSS-007): ./github/ttf.epub/OEBPS/Styles/Style0001.css(28,5): Font-face reference OEBPS/Fonts/FiraSans1.otf refers to non-standard font type application/x-fo1nt-truetype.
Also it doesn't check extension of font file .otf or .ttf