public interface FontBoxFont
Modifier and Type | Method and Description |
---|---|
BoundingBox |
getFontBBox()
Returns the font's bounding box in PostScript units.
|
java.util.List<java.lang.Number> |
getFontMatrix()
Returns the FontMatrix in PostScript units.
|
java.lang.String |
getName()
The PostScript name of the font.
|
java.awt.geom.GeneralPath |
getPath(java.lang.String name)
Returns the path for the character with the given name.
|
float |
getWidth(java.lang.String name)
Returns the advance width for the character with the given name.
|
boolean |
hasGlyph(java.lang.String name)
Returns true if the font contains the given glyph.
|
java.lang.String getName() throws java.io.IOException
java.io.IOException
BoundingBox getFontBBox() throws java.io.IOException
java.io.IOException
java.util.List<java.lang.Number> getFontMatrix() throws java.io.IOException
java.io.IOException
java.awt.geom.GeneralPath getPath(java.lang.String name) throws java.io.IOException
java.io.IOException
- if the path could not be readfloat getWidth(java.lang.String name) throws java.io.IOException
java.io.IOException
- if the path could not be readboolean hasGlyph(java.lang.String name) throws java.io.IOException
name
- PostScript glyph namejava.io.IOException