diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-01-31 14:24:08 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2008-01-31 14:24:08 +0000 |
commit | 34233096a536aac43ad5ff0a2c6a5f0e131f2bb1 (patch) | |
tree | 2a6fadb7da873f2741a4044b251558dbd9beb917 | |
parent | 1e655d9d01b083ef19c08f38963013412badca26 (diff) | |
download | shared-mime-info-34233096a536aac43ad5ff0a2c6a5f0e131f2bb1.tar.gz |
2008-01-31 Bastien Nocera <hadess@hadess.net>
* freedesktop.org.xml.in:
* tests/list:
* tests/test.ttx: Patch from Christian Persch
<chpe@gnome.org> to add the TTX font mime-type (Closes: #14318)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | freedesktop.org.xml.in | 8 | ||||
-rw-r--r-- | tests/list | 3 | ||||
-rw-r--r-- | tests/test.ttx | 8 |
4 files changed, 26 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2008-01-31 Bastien Nocera <hadess@hadess.net> + + * freedesktop.org.xml.in: + * tests/list: + * tests/test.ttx: Patch from Christian Persch + <chpe@gnome.org> to add the TTX font mime-type (Closes: #14318) + 2008-01-29 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: Patch from Paolo Borelli diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 3652b55b..d3818262 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -1258,6 +1258,14 @@ command to generate the output files. <glob pattern="*.ttf"/> <glob pattern="*.ttc"/> </mime-type> + <mime-type type="application/x-font-ttx"> + <sub-class-of type="text/xml"/> + <_comment>TrueType XML font</_comment> + <magic priority="50"> + <match type="string" value="<ttFont sfntVersion="\\x00\\x01\\x00\\x00" ttLibVersion="" offset="0:256"/> + </magic> + <glob pattern="*.ttx"/> + </mime-type> <mime-type type="application/x-font-vfont"> <_comment>V font</_comment> <magic priority="50"> @@ -62,6 +62,9 @@ subtitle.ssa text/x-ssa text-iso8859-15.txt text/plain ox text-utf8.txt text/plain ox +# xml subtypes +test.ttx application/x-font-ttx + # other text.pdf application/pdf project.glade application/x-glade diff --git a/tests/test.ttx b/tests/test.ttx new file mode 100644 index 00000000..b8b99b21 --- /dev/null +++ b/tests/test.ttx @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.0b1"> + + <GlyphOrder> + <GlyphID id="0" name=".notdef"/> + </GlyphOrder> + +</ttFont> |