Package org.apache.fontbox.cff
Class CFFFont.Mapping
java.lang.Object
org.apache.fontbox.cff.CFFFont.Mapping
- Enclosing class:
- CFFFont
This class is used for the font mapping.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Mapping
public Mapping()
-
-
Method Details
-
toType1Sequence
Converts the mapping into a Type1-sequence.- Returns:
- the Type1-sequence
- Throws:
IOException
- if an error occurs during reading
-
toType2Sequence
Converts the mapping into a Type2-sequence.- Returns:
- the Type2-sequence
- Throws:
IOException
- if an error occurs during reading
-
getCode
public int getCode()Gets the value for the code.- Returns:
- the code
-
getSID
public int getSID()Gets the value for the SID.- Returns:
- the SID
-
getName
Gets the value for the name.- Returns:
- the name
-
getBytes
public byte[] getBytes()Gets the value for the bytes.- Returns:
- the bytes
-