org.extex.font.format.xtf.tables.cff
Class T2StandardStrings

java.lang.Object
  extended by org.extex.font.format.xtf.tables.cff.T2StandardStrings

public final class T2StandardStrings
extends java.lang.Object

Standard Strings.

(SID / name)

Version:
$Revision: 6604 $
Author:
Michael Niedermair

Field Summary
static java.lang.String[] DATA
          Standard Strings
 
Method Summary
static int getHighestSID()
          Returns the highest sid.
static int getSID(java.lang.String name)
          Returns the SID for a StandardString or -1 if not found.
static java.lang.String getString(int sid)
          Returns the StandardString or '.notdef' if number out of range.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA

public static final java.lang.String[] DATA
Standard Strings

Method Detail

getHighestSID

public static int getHighestSID()
Returns the highest sid.

Returns:
Returns the highest sid.

getString

public static java.lang.String getString(int sid)
Returns the StandardString or '.notdef' if number out of range.

Parameters:
sid - the sid for the string
Returns:
Returns the StandardString or '.notdef' if number out of range.

getSID

public static int getSID(java.lang.String name)
Returns the SID for a StandardString or -1 if not found.

Parameters:
name - the StandardString
Returns:
Returns the SID for a StandardString or -1 if not found.