View Single Post
Old 01-14-2015, 02:53 AM   #10
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 quiris View Post
epubcheck 4 (alpha11) checks font mime type, but it isn't strict.
Update. Epubcheck 4.0 isn't strict for EPUB 2.0 version files:

Code:
java -jar ~/github/epubcheck-4.0.0-alpha11/epubcheck.jar ~/github/ttf_2.epub 
Validating against EPUB version 2.0 - custom validation
Validating using EPUB version 2.0 rules.
No errors or warnings detected.
epubcheck completed
Epubcheck 4.0 is strict for EPUB 3.0 version files:

Code:
java -jar ~/github/epubcheck-4.0.0-alpha11/epubcheck.jar ~/github/ttf_3.epub 
Validating against EPUB version 3.0 - custom validation
Validating using EPUB version 3.0 rules.
WARNING(CSS-007): ./github/ttf_3.epub/OEBPS/Styles/Style0001.css(3,5): Font-face reference OEBPS/Fonts/DejaVuSans0.ttf refers to non-standard font type application/x-font-ttf.
WARNING(CSS-007): ./github/ttf_3.epub/OEBPS/Styles/Style0001.css(8,5): Font-face reference OEBPS/Fonts/DejaVuSans1.ttf refers to non-standard font type application/x-font-truetype.
WARNING(CSS-007): ./github/ttf_3.epub/OEBPS/Styles/Style0001.css(18,5): Font-face reference OEBPS/Fonts/DejaVuSans3.ttf refers to non-standard font type application/font-sfnt.
WARNING(CSS-007): ./github/ttf_3.epub/OEBPS/Styles/Style0001.css(23,5): Font-face reference OEBPS/Fonts/FiraSans0.otf refers to non-standard font type application/x-font-ttf.
WARNING(CSS-007): ./github/ttf_3.epub/OEBPS/Styles/Style0001.css(28,5): Font-face reference OEBPS/Fonts/FiraSans1.otf refers to non-standard font type application/x-font-truetype.
WARNING(CSS-007): ./github/ttf_3.epub/OEBPS/Styles/Style0001.css(38,5): Font-face reference OEBPS/Fonts/FiraSans3.otf refers to non-standard font type application/font-sfnt.

Check finished with warnings

epubcheck completed
Attached Files
File Type: epub ttf_2.epub (1.73 MB, 381 views)
File Type: epub ttf_3.epub (1.74 MB, 347 views)
quiris is offline   Reply With Quote