Blob Blame History Raw
From 95d0e4aa11f0b544a0911c75bdd3b15eded8fe67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Date: Wed, 8 Feb 2017 13:18:43 +0200
Subject: [PATCH 5/6] font/collection: New type, associate *.ttc with it

https://www.iana.org/assignments/media-types/font/collection
---
 freedesktop.org.xml.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index e5629f0..e810d2f 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -2081,63 +2081,67 @@ command to generate the output files.
       <match type="string" value="\x13\x7A\x29" offset="0"/>
       <match type="string" value="\x13\x7A\x2B" offset="8"/>
     </magic>
   </mime-type>
   <mime-type type="application/x-font-tex">
     <_comment>TeX font</_comment>
     <generic-icon name="font-x-generic"/>
     <magic priority="50">
       <match type="string" value="\367\203" offset="0"/>
       <match type="string" value="\367\131" offset="0"/>
       <match type="string" value="\367\312" offset="0"/>
     </magic>
   </mime-type>
   <mime-type type="application/x-font-tex-tfm">
     <_comment>TeX font metrics</_comment>
     <generic-icon name="font-x-generic"/>
     <magic priority="50">
       <match type="string" value="\000\021" offset="2"/>
       <match type="string" value="\000\022" offset="2"/>
     </magic>
   </mime-type>
   <mime-type type="font/ttf">
     <_comment>TrueType font</_comment>
     <generic-icon name="font-x-generic"/>
     <magic priority="50">
       <match type="string" value="FFIL" offset="0"/>
       <match type="string" value="FFIL" offset="65"/>
       <match type="string" value="\000\001\000\000\000" offset="0"/>
     </magic>
     <glob pattern="*.ttf"/>
-    <glob pattern="*.ttc"/>
     <alias type="application/x-font-ttf"/>
   </mime-type>
+  <mime-type type="font/collection">
+    <_comment>Font collection</_comment>
+    <generic-icon name="font-x-generic"/>
+    <glob pattern="*.ttc"/>
+  </mime-type>
   <mime-type type="application/x-font-ttx">
     <_comment>TrueType XML font</_comment>
     <sub-class-of type="application/xml"/>
     <generic-icon name="font-x-generic"/>
     <magic priority="50">
       <match type="string" value="&lt;ttFont sfntVersion=&quot;\\x00\\x01\\x00\\x00&quot; ttLibVersion=&quot;" offset="0:256"/>
     </magic>
     <glob pattern="*.ttx"/>
   </mime-type>
   <mime-type type="application/x-font-vfont">
     <_comment>V font</_comment>
     <generic-icon name="font-x-generic"/>
     <magic priority="50">
       <match type="string" value="FONT" offset="0"/>
     </magic>
   </mime-type>
   <mime-type type="application/vnd.framemaker">
     <_comment>Adobe FrameMaker document</_comment>
     <generic-icon name="x-office-document"/>
     <magic priority="50">
       <match type="string" value="&lt;MakerFile" offset="0"/>
       <match type="string" value="&lt;MIFFile" offset="0"/>
       <match type="string" value="&lt;MakerDictionary" offset="0"/>
       <match type="string" value="&lt;MakerScreenFon" offset="0"/>
       <match type="string" value="&lt;MML" offset="0"/>
       <match type="string" value="&lt;Book" offset="0"/>
       <match type="string" value="&lt;Maker" offset="0"/>
     </magic>
     <glob pattern="*.fm"/>
     <alias type="application/x-frame"/>
-- 
2.21.0