View Single Post
Old 12-28-2019, 09:27 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Vroni View Post
So is this a bug in sigil not choosing the right mimetype?
According to the IANA, the following font mime types can be used:

otf font/otf
sfnt font/sfnt
ttf font/ttf
woff font/woff
woff2 font/woff2

According to the epub3 specs, the following mime types are also acceptable:

ttf application/font-sfnt
otf application/vnd.ms-opentype
woff application/font-woff

I.e., font/otf is definitely a valid mime type. Maybe bk.font_iter() needs to be updated.
Doitsu is offline   Reply With Quote