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

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
      extended by org.pentaho.reporting.libraries.fonts.truetype.mappings.MacintoshPlatformIdentifier

public class MacintoshPlatformIdentifier
extends PlatformIdentifier

Creation-Date: 07.11.2005, 15:11:56

Author:
Thomas Morgner

Field Summary
 
Fields inherited from class org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
ISO, MACINTOSH, MICROSOFT, UNICODE
 
Constructor Summary
MacintoshPlatformIdentifier()
           
 
Method Summary
 java.lang.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.

 
Methods inherited from class org.pentaho.reporting.libraries.fonts.truetype.mappings.PlatformIdentifier
getIdentifier, getType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MacintoshPlatformIdentifier

public MacintoshPlatformIdentifier()
Method Detail

getEncoding

public java.lang.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: