Class CustomPlatformIdentifier
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
-
- org.pentaho.reporting.libraries.fonts.truetype.mappings.CustomPlatformIdentifier
-
public class CustomPlatformIdentifier extends PlatformIdentifier
Creation-Date: 07.11.2005, 15:42:07- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
ISO, MACINTOSH, MICROSOFT, UNICODE
-
-
Constructor Summary
Constructors Constructor Description CustomPlatformIdentifier(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncoding(int encodingId, int language)
Quoted from the OpenTypeSpecs:-
Methods inherited from class org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
getIdentifier, getType, toString
-
-
-
-
Method Detail
-
getEncoding
public String getEncoding(int encodingId, int language)
Description copied from class:PlatformIdentifier
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.- Specified by:
getEncoding
in classPlatformIdentifier
- Returns:
-
-