How to enable font subsetting?

Q: Is there a way to specify that just a subset of a font is put into
the PDF rather than embedding the entire TT font via PDFTron? I am
creating PDFs that some preflight software (Trueflow and Brisque) are
complaining the fonts are not subset...even though they're fully

Using PDFNet you can control font subsetting. For example:

  Font myfont = pdftron.PDF.Font.CreateTrueTypeFont(doc, "
myfont.ttf", true, true);

will create an embedded and subsetted PDF font. The last parameter in
Font.Create(..) controls font subsetting.

If you would like to preserve the option to edit text using the
original font, embedding the entire font in generally not a bad idea.