summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-06-23 16:32:36 +0200
committerBastien Nocera <hadess@hadess.net>2014-06-23 16:32:36 +0200
commitb7154bbd3baa6ae28cd06b7f7b13f4a26b6cc03a (patch)
tree3d2c6725723300273554a4bc3ed7ddac901f4b0c
parent41ab743d40f9f9a64c2b8be22b93bab1ed1c21f7 (diff)
downloadshared-mime-info-b7154bbd3baa6ae28cd06b7f7b13f4a26b6cc03a.tar.gz
Add another magic for OTF fonts
"Version 1.0" as magic, as per: http://www.microsoft.com/typography/otspec/otff.htm It matches what we use for TTF fonts, but they should be differentiated by suffix already. https://bugs.freedesktop.org/show_bug.cgi?id=80276
-rw-r--r--freedesktop.org.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index b50aa315..c3f9963e 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1888,6 +1888,7 @@ command to generate the output files.
<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>