Class PlatformIdentifier
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
- Direct Known Subclasses:
CustomPlatformIdentifier,IsoPlatformIdentifier,MacintoshPlatformIdentifier,MicrosoftPlatformIdentifier,UnicodePlatformIdentifier
Creation-Date: 06.11.2005, 21:33:16
- Author:
- Thomas Morgner
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlatformIdentifierstatic final PlatformIdentifierstatic final PlatformIdentifierstatic final PlatformIdentifier -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetEncoding(int encodingId, int language) Quoted from the OpenTypeSpecs:static PlatformIdentifiergetIdentifier(int param) intgetType()toString()
-
Field Details
-
UNICODE
-
MACINTOSH
-
ISO
-
MICROSOFT
-
-
Method Details
-
getType
public int getType() -
toString
-
getIdentifier
-
getEncoding
Quoted from the OpenTypeSpecs: Note that OS/2 and Windows both require that all name strings be defined in Unicode. Thus all 'name' table strings for platform ID = 3 (Microsoft) will require two bytes per character. Macintosh fonts require single byte strings.- Parameters:
encodingId-language-- Returns:
-