Class Encoding

java.lang.Object
com.adobe.fontengine.font.cff.Encoding

public final class Encoding extends Object
Represents an encoding.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.adobe.fontengine.font.cff.CFFByteArray
    The container for our bytes, if the encoding is not predefined.
    final int
    The offset of our bytes in data if the encoding is not predefined.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    charCode2gid(int charCode, com.adobe.fontengine.font.cff.Charset charset)
    Return the gid for a character code.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      public final com.adobe.fontengine.font.cff.CFFByteArray data
      The container for our bytes, if the encoding is not predefined. If the encoding is predefined, than data is null.
    • offset

      public final int offset
      The offset of our bytes in data if the encoding is not predefined. If the encoding is predefined, than data is null and offset is 0 or 1. Note that the value 0 is ambiguous, as it can be either the isoAdobe predefined charset (if data is null) or an offset in data (if data is not null).
  • Method Details