1. Philip Taylor
  2. font-optimizer


font-optimizer /

Filename Size Date modified Message
34 B
Minor cleanups
1.1 KB
Add MIT license file
951 B
Add initial version of library code and sample tool
1.3 KB
Add TTF<->EOT tool
6.7 KB
Fix handling of certain GPOS subtable types.
929 B
Support the folding of certain GSUB features into the cmap table
6.1 KB
Add a script for modifying the 'name' table in a reasonably generic way
2.8 KB
Fix obfuscator to work with Chrome
3.7 KB
Support the folding of certain GSUB features into the cmap table
 Font Optimizer

Developed by Philip Taylor (excors@gmail.com)

The main purpose of this project is to provide a way to convert TTF files into
smaller files that contain only a subset of the original's glyphs, focusing on
high-quality conversion (preserving special typographic features like kerning
and ligatures).

The project mainly consists of:

    Font/Subsetter.pm   - library to generate subsets of TTF files
    Font/EOTWrapper.pm  - library to convert TTF to EOT
    subset.pl           - example script using the libraries
    ext/                - external libraries (particularly Font::TTF, since a
                          specific not-yet-released version is needed)

The libraries are used in the web service at http://fonts.philip.html5.org/

The code doesn't really have any documentation or proper APIs, and it hasn't
been tested on a wide range of fonts, but when it works it should be fairly
reliable and stable.