Interface PDVectorFont

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.geom.GeneralPath getPath​(int code)
      Returns the glyph path for the given character code in a PDF.
      boolean hasGlyph​(int code)
      Returns true if this font contains a glyph for the given character code in a PDF.
    • Method Detail

      • getPath

        java.awt.geom.GeneralPath getPath​(int code)
                                   throws java.io.IOException
        Returns the glyph path for the given character code in a PDF.
        Parameters:
        code - character code in a PDF. Not to be confused with unicode.
        Throws:
        java.io.IOException - if the font could not be read
      • hasGlyph

        boolean hasGlyph​(int code)
                  throws java.io.IOException
        Returns true if this font contains a glyph for the given character code in a PDF.
        Parameters:
        code - character code in a PDF. Not to be confused with unicode.
        Throws:
        java.io.IOException