org.apache.fontbox.cff

Class CFFFont.Mapping

public class CFFFont.Mapping extends Object

This class is used for the font mapping.
Method Summary
byte[]getBytes()
Gets the value for the bytes.
intgetCode()
Gets the value for the code.
StringgetName()
Gets the value for the name.
intgetSID()
Gets the value for the SID.
List<Object>toType1Sequence()
Converts the mapping into a Type1-sequence.
List<Object>toType2Sequence()
Converts the mapping into a Type2-sequence.

Method Detail

getBytes

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

Returns: the bytes

getCode

public int getCode()
Gets the value for the code.

Returns: the code

getName

public String getName()
Gets the value for the name.

Returns: the name

getSID

public int getSID()
Gets the value for the SID.

Returns: the SID

toType1Sequence

public List<Object> toType1Sequence()
Converts the mapping into a Type1-sequence.

Returns: the Type1-sequence

Throws: IOException if an error occurs during reading

toType2Sequence

public List<Object> toType2Sequence()
Converts the mapping into a Type2-sequence.

Returns: the Type2-sequence

Throws: IOException if an error occurs during reading

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