Interface FontBoxFont

    • Method Detail

      • getPath

        android.graphics.Path getPath​(String name)
                               throws IOException
        Returns the path for the character with the given name.
        Returns:
        glyph path
        Throws:
        IOException - if the path could not be read
      • getWidth

        float getWidth​(String name)
                throws IOException
        Returns the advance width for the character with the given name.
        Returns:
        glyph advance width
        Throws:
        IOException - if the path could not be read
      • hasGlyph

        boolean hasGlyph​(String name)
                  throws IOException
        Returns true if the font contains the given glyph.
        Parameters:
        name - PostScript glyph name
        Throws:
        IOException