org.apache.fontbox.cff.encoding
public abstract class CFFEncoding extends Object
Version: $Revision$
| Method Summary | |
|---|---|
| int | getCode(int sid)
Returns the code corresponding to the given SID. |
| Iterator<Integer> | getCodes()
Returns an iterator for all codes of this encoding.
|
| int | getSID(int code)
Returns the SID corresponding to the given code. |
| boolean | isFontSpecific()
Determines if the encoding is font specific or not. |
| void | register(int code, int sid)
Adds a new code/SID combination to the encoding. |
Parameters: sid the given SID
Returns: the corresponding code
Returns: the iterator for all codes of this encoding
Parameters: code the given code
Returns: the corresponding SID
Returns: if the encoding is font specific
Parameters: code the given code sid the given SID