Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.awt.geom.GeneralPath> |
cache |
private PDCIDFontType0 |
font |
private java.lang.String |
fontName |
private static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
CIDType0Glyph2D(PDCIDFontType0 font)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Remove all cached resources.
|
java.awt.geom.GeneralPath |
getPathForCharacterCode(int code)
Returns the path describing the glyph for the given character code.
|
private static final org.apache.commons.logging.Log LOG
private final java.util.Map<java.lang.Integer,java.awt.geom.GeneralPath> cache
private final PDCIDFontType0 font
private final java.lang.String fontName
CIDType0Glyph2D(PDCIDFontType0 font)
font
- Type 0 CIDFontpublic java.awt.geom.GeneralPath getPathForCharacterCode(int code)
Glyph2D
getPathForCharacterCode
in interface Glyph2D
code
- the character code