Class PFBParser

java.lang.Object
org.docx4j.fonts.fop.fonts.type1.PFBParser

public class PFBParser
extends java.lang.Object
This class represents a parser for Adobe Type 1 PFB files.
See Also:
PFBData
  • Constructor Summary

    Constructors
    Constructor Description
    PFBParser()  
  • Method Summary

    Modifier and Type Method Description
    PFBData parsePFB​(java.io.InputStream in)
    Parses a PFB file into a PFBData object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PFBParser

      public PFBParser()
  • Method Details

    • parsePFB

      public PFBData parsePFB​(java.io.InputStream in) throws java.io.IOException
      Parses a PFB file into a PFBData object.
      Parameters:
      in - InputStream to load the PFB file from
      Returns:
      PFBData memory representation of the font
      Throws:
      java.io.IOException - In case of an I/O problem