mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add the IANA registered mime-type of application/font-sfnt to the set of mimetypes calibre recognizes for font files
This commit is contained in:
parent
d47fb8c0bb
commit
edfedd41ca
@ -41,7 +41,7 @@ from calibre.utils.zipfile import ZipFile
|
||||
exists, join, relpath = os.path.exists, os.path.join, os.path.relpath
|
||||
|
||||
|
||||
OEB_FONTS = {guess_type('a.ttf'), guess_type('b.otf'), guess_type('a.woff'), 'application/x-font-ttf', 'application/x-font-otf'}
|
||||
OEB_FONTS = {guess_type('a.ttf'), guess_type('b.otf'), guess_type('a.woff'), 'application/x-font-ttf', 'application/x-font-otf', 'application/font-sfnt'}
|
||||
OPF_NAMESPACES = {'opf':OPF2_NS, 'dc':DC11_NS}
|
||||
|
||||
class CSSPreProcessor(cssp):
|
||||
|
Loading…
x
Reference in New Issue
Block a user