From 9821125f2ce88559a564c6a145f842c765943b35 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 6 Sep 2019 15:36:51 -0700 Subject: [PATCH] Recognize directory for application/x-font-ttf. --- epubfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/epubfile.py b/epubfile.py index 826c82c..0775b65 100644 --- a/epubfile.py +++ b/epubfile.py @@ -43,6 +43,7 @@ EXTENSION_MIMETYPES = { MIMETYPE_DIRECTORIES = { 'application/x-dtbncx+xml': '.', 'application/font-sfnt': 'Fonts', + 'application/x-font-ttf': 'Fonts', 'application/xhtml+xml': 'Text', 'font': 'Fonts', 'image': 'Images',