PHP-Font-lib is a set of classes that can help you extract various information from font files.
Currently supported
- Extaction of meta data, horizontal metrics, textual info, from [sfnt] based font files (TrueType, OpenType and WOFF)
- Creation of AdobeFontMetrics (AFM) files based on Unicode or on a specific encoding
- Extraction of TrueType fonts from TrueType Collection files
- Extract basic information from Embedded OpenType font files
- Extraction glyph data (the outlines) for OpenType glyphs and display them (in the font-explorer)
- Create a TrueType font from SVG paths
- Create font subsets
TODO
- Advanced EOT data extraction
- Extraction of the glyph data (the outlines) for PostScript glyphs