View Single Post
Old 01-13-2015, 03:13 AM   #7
quiris
Groupie
quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'quiris understands when you whisper 'The dog barks at midnight.'
 
quiris's Avatar
 
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KOA1, KV
Quote:
Originally Posted by JSWolf View Post
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
Attached Files
File Type: epub ttf.epub (1.73 MB, 379 views)

Last edited by quiris; 01-13-2015 at 03:20 AM.
quiris is offline   Reply With Quote