View Single Post
Old 7th October 2019, 06:34   #475  |  Link
Liisachan
李姗倩 Lǐ Shān Qiàn
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,340
Mosu: thank you very much for your detailed answer/clarification!
Quote:
Originally Posted by Mosu View Post
We would all benefit from a comprehensive test of all known implementations that support fonts in Matroska; try using both MIME types and create a mapping which implementation support which MIME type.
Not a comprehensive test, but a few key facts: Do players support an embedded TTF with the FileMimeType "font/" on Windows?
  • The latest version of MPC-BE (v1.5.3 @ 2019-04-01): NO
  • The latest (final) official version of MPC-HC (v1.7.13): NO
  • The latest unofficial version of MPC-HC (clsid2 builds): YES
  • zoomplayer: NO (according to my friend)

Those players marked NO do support an embedded TTF with the FileMimeType "application/x-truetype-font". So your gut feeling seems correct (e.g. MPC-BE from April 2019 does not support "font/"). I'd say it's still too early to migrate to "font/".

As a side note, it seems that when you mux a file on Mac, "font/sfnt" is used by default for TTF and "application/vnd.ms-opentype" for OTF; which is less than ideal even if one prefers "font/". RFC says, Use of "font/sfnt" is likely to be rare in practice. I.e. if you do use "font/", "font/ttf" should be used for TTF, not "font/sfnt"; and "font/otf" should be used for OTF, not "application/vnd.ms-opentype".
Liisachan is offline   Reply With Quote