Class Type1Parser

java.lang.Object
com.itextpdf.io.font.Type1Parser

class Type1Parser extends Object
  • Field Details

    • AFM_HEADER

      private static final String AFM_HEADER
      See Also:
    • afmPath

      private String afmPath
    • pfbPath

      private String pfbPath
    • pfbData

      private byte[] pfbData
    • afmData

      private byte[] afmData
    • isBuiltInFont

      private boolean isBuiltInFont
    • sourceFactory

      private RandomAccessSourceFactory sourceFactory
  • Constructor Details

    • Type1Parser

      public Type1Parser(String metricsPath, String binaryPath, byte[] afm, byte[] pfb)
      Creates a new Type1 font file.
      Parameters:
      metricsPath - the name of one of the 14 built-in fonts or the location of an AFM file. The file must end in '.afm'
      afm - the AFM file if the input is made with a byte array
      pfb - the PFB file if the input is made with a byte array
  • Method Details