Package org.apache.fontbox.cff
Class CFFEncoding
java.lang.Object
org.apache.fontbox.encoding.Encoding
org.apache.fontbox.cff.CFFEncoding
- Direct Known Subclasses:
CFFExpertEncoding
,CFFStandardEncoding
A CFF Type 1-equivalent Encoding. An encoding is an array of codes associated with some or all
glyphs in a font
- Author:
- John Hewson
-
Field Summary
Fields inherited from class org.apache.fontbox.encoding.Encoding
codeToName, nameToCode
-
Method Summary
Methods inherited from class org.apache.fontbox.encoding.Encoding
addCharacterEncoding, getCode, getCodeToNameMap, getName
-
Method Details
-
add
Adds a new code/SID combination to the encoding.- Parameters:
code
- the given codesid
- the given SID
-
add
protected void add(int code, int sid) For use by subclasses only.
-