org.pentaho.reporting.libraries.fonts.truetype
Class NameTable
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.NameTable
- All Implemented Interfaces:
- FontTable
public class NameTable
- extends java.lang.Object
- implements FontTable
Creation-Date: 06.11.2005, 20:24:42
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME_COPYRIGHT
public static final int NAME_COPYRIGHT
- See Also:
- Constant Field Values
NAME_FAMILY
public static final int NAME_FAMILY
- See Also:
- Constant Field Values
NAME_SUBFAMILY
public static final int NAME_SUBFAMILY
- See Also:
- Constant Field Values
NAME_UNIQUE_SUBFAMILY
public static final int NAME_UNIQUE_SUBFAMILY
- See Also:
- Constant Field Values
NAME_FULLNAME
public static final int NAME_FULLNAME
- See Also:
- Constant Field Values
NAME_VERSION
public static final int NAME_VERSION
- See Also:
- Constant Field Values
NAME_POSTSCRIPT
public static final int NAME_POSTSCRIPT
- See Also:
- Constant Field Values
NAME_TRADEMARK
public static final int NAME_TRADEMARK
- See Also:
- Constant Field Values
NAME_MANUFACTURER
public static final int NAME_MANUFACTURER
- See Also:
- Constant Field Values
NAME_DESIGNER
public static final int NAME_DESIGNER
- See Also:
- Constant Field Values
NAME_DESCRIPTION
public static final int NAME_DESCRIPTION
- See Also:
- Constant Field Values
NAME_VENDOR_URL
public static final int NAME_VENDOR_URL
- See Also:
- Constant Field Values
NAME_DESIGNER_URL
public static final int NAME_DESIGNER_URL
- See Also:
- Constant Field Values
NAME_LICENCE_DESCRIPTION
public static final int NAME_LICENCE_DESCRIPTION
- See Also:
- Constant Field Values
NAME_LICENCE_URL
public static final int NAME_LICENCE_URL
- See Also:
- Constant Field Values
NAME_RESERVED
public static final int NAME_RESERVED
- See Also:
- Constant Field Values
NAME_PREFERRED_FAMILY
public static final int NAME_PREFERRED_FAMILY
- See Also:
- Constant Field Values
NAME_PREFERRED_SUBFAMILY
public static final int NAME_PREFERRED_SUBFAMILY
- See Also:
- Constant Field Values
NAME_COMPATIBLE_FULL
public static final int NAME_COMPATIBLE_FULL
- See Also:
- Constant Field Values
NAME_SAMPLE_TEXT
public static final int NAME_SAMPLE_TEXT
- See Also:
- Constant Field Values
TABLE_ID
public static final long TABLE_ID
- See Also:
- Constant Field Values
NameTable
public NameTable(byte[] buffer)
throws EncodingException
- Throws:
EncodingException
getName
public java.lang.String getName(int type,
PlatformIdentifier platformId,
int platformEncoding,
int rawLanguage)
getName
public java.lang.String getName(int type,
LanguageCode language)
getFormat
public int getFormat()
getRecordCount
public int getRecordCount()
getStringOffset
public int getStringOffset()
getNameRecords
public NameTable.NameRecord[] getNameRecords()
getNameRecord
public NameTable.NameRecord getNameRecord(int pos)
getPrimaryName
public java.lang.String getPrimaryName(int type)
getAllNames
public java.lang.String[] getAllNames(int type)
getName
public long getName()
- Specified by:
getName
in interface FontTable