java.lang.Object
com.itextpdf.pdfoptimizer.handlers.fontsubsetting.Type0Subsetter

public final class Type0Subsetter extends Object
Class that can subset type0 fonts.
  • Method Details

    • subset

      public static void subset (com.itextpdf.kernel.font.PdfType0Font font, Set glyphs) throws IOException
      Subset type0 font with provided set of glyphs.
      Parameters:
      font - type0 font
      glyphs - set of glyphs to create subset
      Throws:
      IOException - if any input/output issue occurs