Missing media type for font files
| Project: | EPUB Maintenance |
| Component: | Open Publication Structure (OPS) |
| Category: | bug report |
| Priority: | normal |
| Assigned: | BDuga |
| Status: | completed @ 2.0.1 |
Jump to:
The list of media types does not list any types for font files. Therefore, it we require that all font files have a fallback to a core type, which makes no sense. We should, at the very least, add a media type for OpenType fonts.
Description
Issue Id:
30
Resolution:
Update spec to recommend "application/vnd.ms-opentype" for the media-type of OpenType fonts.

Comments
#1
#2
Seeing as how there is no particularly good mime type to use, and since we don't actually *require* OpenType fonts (or limit the font types in any way), it seems like we may just want to dismiss this. Folks will just have to use whatever media type they want, and we will rely on the CSS fallback mechanism which has already been added to the errata for the next rev. If there are no complaints, I will move this to "dismissed" in a week.
#3
OpenType font support is recommended, but not required, as you say. Because of the recommendation, I'd like to see a recommendation on a media-type to help ensure that Reading Systems interoperate (and know what to expect).
#4
It doesn't seem to too commonly used, but for OpenType, one could go with:
"application/vnd.ms-opentype"
#5
ISO/IEC 29500-1:2006 (OOXML) uses application/x-font-ttf. It is believed that this acturally implies one of the three
forms of OpenType, namely true type font, true type font collection, and adobe font. SC34/WG4 has discussed about
creating a new media type. However, since many OOXML documents already use application/x-font-ttf , WG4
gave up.
#6
Resolution field filled in. To be promoted to "accepted". Recommend using:
application/vnd.ms-opentype
One reference is:
http://msdn.microsoft.com/en-us/library/system.io.packaging.packagepart.contenttype.aspx
#7
#8
What's the recommendation for TrueType?
#9
We only really recommend/specify OpenType -- you can package TrueType within OpenType, so I think we stop where we are.
#10