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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CustomPlatformIdentifier

      public CustomPlatformIdentifier(int type)
  • Method Details

    • 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: