Package org.apache.pdfbox.encoding
Class AFMEncoding
java.lang.Object
org.apache.pdfbox.encoding.Encoding
org.apache.pdfbox.encoding.AFMEncoding
- All Implemented Interfaces:
COSObjectable
This will handle the encoding from an AFM font.
- Version:
- $Revision: 1.8 $
- Author:
- Ben Litchfield
-
Field Summary
Fields inherited from class org.apache.pdfbox.encoding.Encoding
codeToName, nameToCode, NOTDEF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.Methods inherited from class org.apache.pdfbox.encoding.Encoding
addCharacterEncoding, getCharacter, getCharacter, getCharacterForName, getCode, getCodeToNameMap, getName, getNameFromCharacter, getNameToCodeMap, hasCodeForName, hasNameForCode
-
Constructor Details
-
AFMEncoding
Constructor.- Parameters:
fontInfo
- The font metric information.
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Returns:
- The cos object that matches this Java object.
-