CFFCIDFont, CFFFont, CFFType1Font, OpenTypeFont, TrueTypeFont, Type1Fontpublic interface FontBoxFont
| Modifier and Type | Method | 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
IOExceptionBoundingBox getFontBBox() throws IOException
IOExceptionList<Number> getFontMatrix() throws IOException
IOExceptionGeneralPath getPath(String name) throws IOException
IOException - if the path could not be readfloat getWidth(String name) throws IOException
IOException - if the path could not be readboolean hasGlyph(String name) throws IOException
name - PostScript glyph nameIOExceptionCopyright © 2008–2018. All rights reserved.