Class CFFFont.Mapping

java.lang.Object
org.apache.fontbox.cff.CFFFont.Mapping
Enclosing class:
CFFFont

public class CFFFont.Mapping extends Object
This class is used for the font mapping.
  • Constructor Details

    • Mapping

      public Mapping()
  • Method Details

    • toType1Sequence

      public List<Object> toType1Sequence() throws IOException
      Converts the mapping into a Type1-sequence.
      Returns:
      the Type1-sequence
      Throws:
      IOException - if an error occurs during reading
    • toType2Sequence

      public List<Object> toType2Sequence() throws IOException
      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

      public String getName()
      Gets the value for the name.
      Returns:
      the name
    • getBytes

      public byte[] getBytes()
      Gets the value for the bytes.
      Returns:
      the bytes