Package org.apache.fontbox.cff
Class CFFFont.Mapping
- java.lang.Object
-
- org.apache.fontbox.cff.CFFFont.Mapping
-
- Enclosing class:
- CFFFont
public class CFFFont.Mapping extends java.lang.Object
This class is used for the font mapping.
-
-
Constructor Summary
Constructors Constructor Description Mapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Gets the value for the bytes.int
getCode()
Gets the value for the code.java.lang.String
getName()
Gets the value for the name.int
getSID()
Gets the value for the SID.java.util.List<java.lang.Object>
toType1Sequence()
Converts the mapping into a Type1-sequence.java.util.List<java.lang.Object>
toType2Sequence()
Converts the mapping into a Type2-sequence.
-
-
-
Method Detail
-
toType1Sequence
public java.util.List<java.lang.Object> toType1Sequence() throws java.io.IOException
Converts the mapping into a Type1-sequence.- Returns:
- the Type1-sequence
- Throws:
java.io.IOException
- if an error occurs during reading
-
toType2Sequence
public java.util.List<java.lang.Object> toType2Sequence() throws java.io.IOException
Converts the mapping into a Type2-sequence.- Returns:
- the Type2-sequence
- Throws:
java.io.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
public java.lang.String getName()
Gets the value for the name.- Returns:
- the name
-
getBytes
public byte[] getBytes()
Gets the value for the bytes.- Returns:
- the bytes
-
-