CFFCIDFont
, CFFFont
, CFFType1Font
, OpenTypeFont
, TrueTypeFont
, Type1Font
public 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
IOException
BoundingBox getFontBBox() throws IOException
IOException
List<Number> getFontMatrix() throws IOException
IOException
GeneralPath 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 nameIOException
Copyright © 2008–2018. All rights reserved.