diff --git a/epubfile.py b/epubfile.py index 3003ce3..e4be293 100644 --- a/epubfile.py +++ b/epubfile.py @@ -726,7 +726,7 @@ class Epub: def get_fonts(self, *, soup=False): return self.get_manifest_items( - filter='[media-type^="application/font"],[media-type^="font/"]', + filter='[media-type*="font"],[media-type*="opentype"]', soup=soup, )