Hi, Brussels-based PHP genius Olivier Berten has made a sfnt.class.php that powers www.selapa.net/khmerfonts/ and kindly donated the code to Open Font Library - its in the public repo here:
https://svn.openfontlibrary.org/public/openfontlibrary/selapa/ With my limited PHP skillz, I have reworked this into a handy **self-contained** command line tool for reading font metadata with the only dependency being PHP: https://svn.openfontlibrary.org/public/openfontlibrary/selapa/fontinfo_cmd.php $ php fontinfo_cmd.php /path/to/font.ttf File Size: 29.9KB (30644 bytes) Date Created: 09-06-2010 19:06:59 Date Modified: 09-06-2010 19:06:59 Glyph Count: 26 Version: Version 1.0 Family Name: Fontname Subfamily Name: Regular Full Name: Fontname PostScript Name: Fontname Unique Identifier: FontForge 2.0 Copyright: $ $ php fontinfo_cmd.php /path/to/font.ttf json {"File Size":"29.9KB (30644 bytes)","Date Created": "09-06-2010 19:06:59","Date Modified":"09-06-2010 19:06:59", "Glyph Count":1238,"Version":"Version 1.0 ","Family Name": "Fontname","Subfamily Name":"Regular","Full Name":"Fontname", "PostScript Name":"Fontname","Unique Identifier": "FontForge 2.0","Copyright":""} $ -- Regards, Dave