Package com.tom_roush.fontbox.ttf
Class NameRecord
- java.lang.Object
-
- com.tom_roush.fontbox.ttf.NameRecord
-
public class NameRecord extends Object
A name record in the name table.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description NameRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLanguageId()intgetNameId()intgetPlatformEncodingId()intgetPlatformId()StringgetString()intgetStringLength()intgetStringOffset()voidsetLanguageId(int languageIdValue)voidsetNameId(int nameIdValue)voidsetPlatformEncodingId(int platformEncodingIdValue)voidsetPlatformId(int platformIdValue)voidsetString(String stringValue)voidsetStringLength(int stringLengthValue)voidsetStringOffset(int stringOffsetValue)StringtoString()Return a string representation of this class.
-
-
-
Field Detail
-
PLATFORM_UNICODE
public static final int PLATFORM_UNICODE
- See Also:
- Constant Field Values
-
PLATFORM_MACINTOSH
public static final int PLATFORM_MACINTOSH
- See Also:
- Constant Field Values
-
PLATFORM_ISO
public static final int PLATFORM_ISO
- See Also:
- Constant Field Values
-
PLATFORM_WINDOWS
public static final int PLATFORM_WINDOWS
- See Also:
- Constant Field Values
-
ENCODING_UNICODE_1_0
public static final int ENCODING_UNICODE_1_0
- See Also:
- Constant Field Values
-
ENCODING_UNICODE_1_1
public static final int ENCODING_UNICODE_1_1
- See Also:
- Constant Field Values
-
ENCODING_UNICODE_2_0_BMP
public static final int ENCODING_UNICODE_2_0_BMP
- See Also:
- Constant Field Values
-
ENCODING_UNICODE_2_0_FULL
public static final int ENCODING_UNICODE_2_0_FULL
- See Also:
- Constant Field Values
-
LANGUGAE_UNICODE
@Deprecated public static final int LANGUGAE_UNICODE
Deprecated.useLANGUAGE_UNICODEinstead.- See Also:
- Constant Field Values
-
LANGUAGE_UNICODE
public static final int LANGUAGE_UNICODE
- See Also:
- Constant Field Values
-
ENCODING_WINDOWS_SYMBOL
public static final int ENCODING_WINDOWS_SYMBOL
- See Also:
- Constant Field Values
-
ENCODING_WINDOWS_UNICODE_BMP
public static final int ENCODING_WINDOWS_UNICODE_BMP
- See Also:
- Constant Field Values
-
ENCODING_WINDOWS_UNICODE_UCS4
public static final int ENCODING_WINDOWS_UNICODE_UCS4
- See Also:
- Constant Field Values
-
LANGUGAE_WINDOWS_EN_US
@Deprecated public static final int LANGUGAE_WINDOWS_EN_US
Deprecated.useLANGUAGE_WINDOWS_EN_USinstead.- See Also:
- Constant Field Values
-
LANGUAGE_WINDOWS_EN_US
public static final int LANGUAGE_WINDOWS_EN_US
- See Also:
- Constant Field Values
-
ENCODING_MACINTOSH_ROMAN
public static final int ENCODING_MACINTOSH_ROMAN
- See Also:
- Constant Field Values
-
LANGUGAE_MACINTOSH_ENGLISH
@Deprecated public static final int LANGUGAE_MACINTOSH_ENGLISH
Deprecated.useLANGUAGE_MACINTOSH_ENGLISHinstead.- See Also:
- Constant Field Values
-
LANGUAGE_MACINTOSH_ENGLISH
public static final int LANGUAGE_MACINTOSH_ENGLISH
- See Also:
- Constant Field Values
-
NAME_COPYRIGHT
public static final int NAME_COPYRIGHT
- See Also:
- Constant Field Values
-
NAME_FONT_FAMILY_NAME
public static final int NAME_FONT_FAMILY_NAME
- See Also:
- Constant Field Values
-
NAME_FONT_SUB_FAMILY_NAME
public static final int NAME_FONT_SUB_FAMILY_NAME
- See Also:
- Constant Field Values
-
NAME_UNIQUE_FONT_ID
public static final int NAME_UNIQUE_FONT_ID
- See Also:
- Constant Field Values
-
NAME_FULL_FONT_NAME
public static final int NAME_FULL_FONT_NAME
- See Also:
- Constant Field Values
-
NAME_VERSION
public static final int NAME_VERSION
- See Also:
- Constant Field Values
-
NAME_POSTSCRIPT_NAME
public static final int NAME_POSTSCRIPT_NAME
- See Also:
- Constant Field Values
-
NAME_TRADEMARK
public static final int NAME_TRADEMARK
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStringLength
public int getStringLength()
- Returns:
- Returns the stringLength.
-
setStringLength
public void setStringLength(int stringLengthValue)
- Parameters:
stringLengthValue- The stringLength to set.
-
getStringOffset
public int getStringOffset()
- Returns:
- Returns the stringOffset.
-
setStringOffset
public void setStringOffset(int stringOffsetValue)
- Parameters:
stringOffsetValue- The stringOffset to set.
-
getLanguageId
public int getLanguageId()
- Returns:
- Returns the languageId.
-
setLanguageId
public void setLanguageId(int languageIdValue)
- Parameters:
languageIdValue- The languageId to set.
-
getNameId
public int getNameId()
- Returns:
- Returns the nameId.
-
setNameId
public void setNameId(int nameIdValue)
- Parameters:
nameIdValue- The nameId to set.
-
getPlatformEncodingId
public int getPlatformEncodingId()
- Returns:
- Returns the platformEncodingId.
-
setPlatformEncodingId
public void setPlatformEncodingId(int platformEncodingIdValue)
- Parameters:
platformEncodingIdValue- The platformEncodingId to set.
-
getPlatformId
public int getPlatformId()
- Returns:
- Returns the platformId.
-
setPlatformId
public void setPlatformId(int platformIdValue)
- Parameters:
platformIdValue- The platformId to set.
-
toString
public String toString()
Return a string representation of this class.
-
getString
public String getString()
- Returns:
- Returns the string.
-
setString
public void setString(String stringValue)
- Parameters:
stringValue- The string to set.
-
-