org.pentaho.reporting.libraries.fonts.truetype.mappings
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
Method Summary |
String |
getEncoding(int encodingId,
int language)
Quoted from the OpenTypeSpecs:
Note that OS/2 and Windows both require that all name strings be defined in
Unicode. |
CustomPlatformIdentifier
public CustomPlatformIdentifier(int type)
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 class PlatformIdentifier
- Returns: