summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-06-27 15:14:05 +0200
committerBastien Nocera <hadess@hadess.net>2014-06-27 15:14:05 +0200
commita8e7904b8c15b54f5afc5781751f2d0a87f0bc4a (patch)
tree14f8cf681cc8f2e40e29daf984c5e5461c48c7ca
parent1f7683bfcbecbeffa802a1c361e1842db2fff4f8 (diff)
downloadshared-mime-info-a8e7904b8c15b54f5afc5781751f2d0a87f0bc4a.tar.gz
More OTF font mime-type changes
To fix the test suite, remove the magic from the OTF font, and make OTF a sub-class of TTF fonts. It's basically the same format, extended with more features.
-rw-r--r--freedesktop.org.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index c3f9963e..486280d6 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1885,10 +1885,10 @@ command to generate the output files.
</mime-type>
<mime-type type="application/x-font-otf">
<_comment>OpenType font</_comment>
+ <sub-class-of type="application/x-font-ttf"/>
<generic-icon name="font-x-generic"/>
<magic priority="50">
<match type="string" value="OTTO" offset="0"/>
- <match type="string" value="\000\001\000\000\000" offset="0"/>
</magic>
<glob pattern="*.otf"/>
</mime-type>