Package org.apache.pdfbox.rendering
Class CIDType0Glyph2D
java.lang.Object
org.apache.pdfbox.rendering.CIDType0Glyph2D
- All Implemented Interfaces:
Glyph2D
GeneralPath conversion for CFF CIDFont.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Integer,
GeneralPath> private final PDCIDFontType0
private final String
private static final org.apache.commons.logging.Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Remove all cached resources.getPathForCharacterCode
(int code) Returns the path describing the glyph for the given character code.
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
cache
-
font
-
fontName
-
-
Constructor Details
-
CIDType0Glyph2D
CIDType0Glyph2D(PDCIDFontType0 font) Constructor.- Parameters:
font
- Type 0 CIDFont
-
-
Method Details
-
getPathForCharacterCode
Description copied from interface:Glyph2D
Returns the path describing the glyph for the given character code.- Specified by:
getPathForCharacterCode
in interfaceGlyph2D
- Parameters:
code
- the character code- Returns:
- the GeneralPath for the given character code
-
dispose
public void dispose()Description copied from interface:Glyph2D
Remove all cached resources.
-