Created attachment 14053 [details] [review] proposed patch TTX files are a subtype of text/xml, produced by fonttool [http://sourceforge.net/projects/fonttools/]. I was unable to find a preexisting mime type for it anywhere, so I chose application/x-font-ttx in analogy to x-font-ttf. They seem to always start like this: <?xml version="1.0" encoding="ISO-8859-1"?> <ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.0b1"> but I guess a "*.ttx" glob pattern is enough to recognise them.
It would need a magic, otherwise by data, it's going to be an XML file, and a test file, so we can add it to the test suite.
Created attachment 14054 [details] updated patch Add magic pattern, and a test file.
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)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.