public interface FontBoxFont
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getFontBBox()
Returns the font's bounding box in PostScript units.
|
List<Number> |
getFontMatrix()
Returns the FontMatrix in PostScript units.
|
String |
getName()
The PostScript name of the font.
|
GeneralPath |
getPath(String name)
Returns the path for the character with the given name.
|
float |
getWidth(String name)
Returns the advance width for the character with the given name.
|
boolean |
hasGlyph(String name)
Returns true if the font contains the given glyph.
|
String getName() throws IOException
IOException - if something went wrong when accessing the font dataBoundingBox getFontBBox() throws IOException
IOException - if something went wrong when accessing the font dataList<Number> getFontMatrix() throws IOException
IOException - if something went wrong when accessing the font dataGeneralPath getPath(String name) throws IOException
name - PostScript glyph nameIOException - if the path could not be readfloat getWidth(String name) throws IOException
name - PostScript glyph nameIOException - if the path could not be readboolean hasGlyph(String name) throws IOException
name - PostScript glyph nameIOException - if something went wrong when accessing the font dataCopyright © 2008–2025 The Apache Software Foundation. All rights reserved.