Class CFFOperator

java.lang.Object
org.apache.fontbox.cff.CFFOperator

public final class CFFOperator extends Object
This class represents a CFF operator.
  • Field Details

  • Constructor Details

    • CFFOperator

      private CFFOperator()
  • Method Details

    • register

      private static void register(int b0, String name)
    • register

      private static void register(int b0, int b1, String name)
    • getOperator

      public static String getOperator(int b0)
      Returns the operator name corresponding to the given one byte representation.
      Parameters:
      b0 - the first byte of the operator
      Returns:
      the corresponding operator name
    • getOperator

      public static String getOperator(int b0, int b1)
      Returns the operator name corresponding to the given two byte representation.
      Parameters:
      b0 - the first byte of the operator
      b1 - the second byte of the operator
      Returns:
      the corresponding operator name
    • calculateKey

      private static int calculateKey(int b0, int b1)