Class PDType1AfmPfbFont

All Implemented Interfaces:
COSObjectable

public class PDType1AfmPfbFont extends PDType1Font
This is implementation of the Type1 Font with a afm and a pfb file.
Version:
$Revision: 1.5 $
Author:
Michael Niedermair
  • Constructor Details

    • PDType1AfmPfbFont

      public PDType1AfmPfbFont(PDDocument doc, String afmname) throws IOException
      Create a new object.
      Parameters:
      doc - The PDF document that will hold the embedded font.
      afmname - The font filename.
      Throws:
      IOException - If there is an error loading the data.
    • PDType1AfmPfbFont

      public PDType1AfmPfbFont(PDDocument doc, InputStream afm, InputStream pfb) throws IOException
      Create a new object.
      Parameters:
      doc - The PDF document that will hold the embedded font.
      afm - The afm input.
      pfb - The pfb input.
      Throws:
      IOException - If there is an error loading the data.
  • Method Details

    • clear

      public void clear()
      Description copied from class: PDFont
      Calling this will release all cached information.
      Overrides:
      clear in class PDType1Font