On Tue, 2008-11-04 at 08:20 +0000, Dave Crossland wrote: > 2008/11/3 Ed Trager <[EMAIL PROTECTED]>: > > > > The PHP getId3() library is at http://getid3.sourceforge.net/. It > > might be worth looking into how to expand this library to recognize > > the TTF and OTF file headers, perhaps? The idea here seems quite > > similar to what the *Nix "file" command does. If someone were to look > > at the *nix "file" command source code, I bet you could fairly easily > > find a reference to the "magic" file header bytes that are used to > > detect TTF/OTF files and then add this to the getId3() stuff, assuming > > that getId3() is well-written. > > Ben Weiner has been looking at ways to extract metadata from font > files directly, but I think he gave up because he couldn't complete it > in the time he had to allocate to it. He was looking at the "TTX" > tools for this, I think. > > Anyway, since none of our files have ID3 tags inside them, it seems to > me that OFLB can get rid of getID3() and replace it with a PHP wrapper > around the "file" command, perhaps combined with TTX.
getID3() reads/writes metadata to diff. file formats with standard type of metadata per format and not just ID3...that is just for mp3. The project has a bad misleading name ;) Jon > _______________________________________________ > Openfontlibrary mailing list > Openfontlibrary@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/openfontlibrary -- Jon Phillips San Francisco, CA + Guangzhou + Beijing GLOBAL +1.415.830.3884 CHINA +86.1.360.282.8624 [EMAIL PROTECTED] http://www.rejon.org IM/skype: kidproto Jabber: [EMAIL PROTECTED] IRC: [EMAIL PROTECTED] _______________________________________________ Openfontlibrary mailing list Openfontlibrary@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openfontlibrary