mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 13:53:33 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
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…
Reference in a new issue