Quote:
Originally Posted by kovidgoyal
Change the mimetype in the opf from application/x-font-ttf to application/x-font-truetype and the font files will be recognized.
|
I did and Sigil now complains (for every entry):
The <item> element's "media-type" attribute has value "application/x-font-truetype", but the file's media type is "application/x-font-ttf".
According your answer I can assume Sigil is wrong for this notification?
BTW: The font files are now indeed correctly recognized by calibre.
Googeling, I found this which might explain Sigil behavior:
Apparently ISO/IEC JTC 1/SC34 are working on a new font top-level metatype. But on
the other hand they also recognize "application/x-font-ttf" as being the
experimental (read: not standardized) de facto MIME type for Truetype fonts.
Number of Google hits for all three possibilities:
"application/x-truetype-font" 2100
"application/x-font-truetype" 4100
"application/x-font-ttf" 45900
So "application/x-font-ttf" it is. It beats the other two by an order of magnitude. I know it's not an *official* standard, but it is a de facto one, and even ISO/IEC JTC 1/SC34 recognizes it. So it should probably be enforced as an industry best practice.