[Openfontlibrary] ccHost compression

Dave Crossland dave at lab6.com
Tue Nov 4 00:20:55 PST 2008


2008/11/3 Ed Trager <ed.trager at gmail.com>:
>
> 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.


More information about the Openfontlibrary mailing list