Class PlatformIdentifier

    • Method Detail

      • getType

        public int getType()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getEncoding

        public abstract 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. Thus all 'name' table strings for platform ID = 3 (Microsoft) will require two bytes per character. Macintosh fonts require single byte strings.

        Parameters:
        encodingId -
        language -
        Returns: