Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.awt.geom.GeneralPath> |
cache |
private PDSimpleFont |
font |
private static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
Type1Glyph2D(PDSimpleFont 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 java.lang.String |
getUniNameOfCodePoint(int codePoint) |
private static final org.apache.commons.logging.Log LOG
private final java.util.Map<java.lang.Integer,java.awt.geom.GeneralPath> cache
private final PDSimpleFont font
Type1Glyph2D(PDSimpleFont font)
font
- PDF Type1 font.public java.awt.geom.GeneralPath getPathForCharacterCode(int code)
Glyph2D
getPathForCharacterCode
in interface Glyph2D
code
- the character codepublic void dispose()
Glyph2D
private static java.lang.String getUniNameOfCodePoint(int codePoint)