View Single Post
Old 10-10-2012, 08:22 AM   #16
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,491
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
I've found a Perl-based TTF font subsetter here: https://bitbucket.org/philip/font-optimizer/overview (MIT license)

there seems to be some C++ source here: http://podofo.sourceforge.net/doc/ht...TTFSubset.html (LGPL)

Another Perl one here: http://search.cpan.org/~mhosken/Font-TTF-Scripts/ (Perl Artistic license 2.0)

A php one here: http://www.4real.gr/technical-documents-ttf-subset.html

Aha! A python one under active development as part of a PDF generation project: http://code.google.com/p/pyfpdf/ (LGPL)

I do not know if any of the projects also work on otf fonts.

matplotlib is another python project that seems to include font subsetting: https://github.com/matplotlib/matplotlib (an attribution licence)
pdurrant is offline   Reply With Quote