IIRC, embbedded truetype fonts should be subsetted by default (there is only a -nosubset option).
The attached program produces a PDF that is not (fully?) subsetted. pdffonts reports:
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
FreeSerif CID TrueType Identity-H yes no yes 7 0
The file is 88Kb. When run through ps2pdf the resultant PDF is only 5Kb.
IIRC, embbedded truetype fonts should be subsetted by default (there is only a
-nosubset
option).The attached program produces a PDF that is not (fully?) subsetted.
pdffonts
reports:The file is 88Kb. When run through
ps2pdf
the resultant PDF is only 5Kb.fonts.pl.txt