Class CFFParser.Format1Charset

Enclosing class:
CFFParser

private static class CFFParser.Format1Charset extends CFFParser.EmbeddedCharset
Inner class representing a Format1 charset.
  • Field Details

  • Constructor Details

    • Format1Charset

      protected Format1Charset(boolean isCIDFont)
  • Method Details

    • getCIDForGID

      public int getCIDForGID(int gid)
      Description copied from class: CFFCharset
      Returns the CID for the given GID.
      Overrides:
      getCIDForGID in class CFFCharset
      Parameters:
      gid - GID
      Returns:
      CID
    • getGIDForCID

      public int getGIDForCID(int cid)
      Description copied from class: CFFCharset
      Returns the GID for a given CID. Returns 0 if the CID is missing.
      Overrides:
      getGIDForCID in class CFFCharset
      Parameters:
      cid - CID
      Returns:
      GID
    • toString

      public String toString()
      Overrides:
      toString in class Object