org.pentaho.reporting.libraries.fonts.truetype.mappings

Class UnicodePlatformIdentifier

public class UnicodePlatformIdentifier extends PlatformIdentifier

Creation-Date: 06.11.2005, 21:44:21

Author: Thomas Morgner

Constructor Summary
UnicodePlatformIdentifier()
Method Summary
StringgetEncoding(int encodingId, int language)
According to the Apple OpenType specifications, all Unicode characters must be encoded using UTF-16.

Constructor Detail

UnicodePlatformIdentifier

public UnicodePlatformIdentifier()

Method Detail

getEncoding

public 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

Parameters: encodingId language

Returns: the encoding, always "UTF-16"