Package org.apache.fontbox.cff
Class CFFExpertEncoding
- java.lang.Object
-
- org.apache.fontbox.encoding.Encoding
-
- org.apache.fontbox.cff.CFFEncoding
-
- org.apache.fontbox.cff.CFFExpertEncoding
-
public final class CFFExpertEncoding extends CFFEncoding
This is specialized CFFEncoding. It's used if the EncodingId of a font is set to 1.
-
-
Field Summary
Fields Modifier and Type Field Description private static int[][]
CFF_EXPERT_ENCODING_TABLE
Table of character codes and their corresponding sid.private static int
CHAR_CODE
private static int
CHAR_SID
private static CFFExpertEncoding
INSTANCE
-
Fields inherited from class org.apache.fontbox.encoding.Encoding
nameToCode
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CFFExpertEncoding()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CFFExpertEncoding
getInstance()
Returns an instance of the CFFExportEncoding class.-
Methods inherited from class org.apache.fontbox.cff.CFFEncoding
add, add, getName
-
Methods inherited from class org.apache.fontbox.encoding.Encoding
addCharacterEncoding, getCode, getCodeToNameMap
-
-
-
-
Field Detail
-
CHAR_CODE
private static final int CHAR_CODE
- See Also:
- Constant Field Values
-
CHAR_SID
private static final int CHAR_SID
- See Also:
- Constant Field Values
-
CFF_EXPERT_ENCODING_TABLE
private static final int[][] CFF_EXPERT_ENCODING_TABLE
Table of character codes and their corresponding sid.
-
INSTANCE
private static final CFFExpertEncoding INSTANCE
-
-
Method Detail
-
getInstance
public static CFFExpertEncoding getInstance()
Returns an instance of the CFFExportEncoding class.- Returns:
- an instance of CFFExportEncoding
-
-