Class UnicodePlatformIdentifier
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
-
- org.pentaho.reporting.libraries.fonts.truetype.mappings.UnicodePlatformIdentifier
-
public class UnicodePlatformIdentifier extends PlatformIdentifier
Creation-Date: 06.11.2005, 21:44:21- 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 UnicodePlatformIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEncoding(int encodingId, int language)According to the Apple OpenType specifications, all Unicode characters must be encoded using UTF-16.-
Methods inherited from class org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
getIdentifier, getType, toString
-
-
-
-
Method Detail
-
getEncoding
public java.lang.String getEncoding(int encodingId, int language)According to the Apple OpenType specifications, all Unicode characters must be encoded using UTF-16. Depending on the encodingId, some blocks may be interpreted differently. LibFont ignores that and uses the Java-Default UTF-16 mapping. Source- Specified by:
getEncodingin classPlatformIdentifier- Parameters:
encodingId-language-- Returns:
- the encoding, always "UTF-16"
-
-