org.apache.fontbox.cff
Class CFFFont.Mapping

java.lang.Object
  extended by 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
CFFFont.Mapping()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFFFont.Mapping

public CFFFont.Mapping()
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


Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.