Class CIDType0Glyph2D

java.lang.Object
org.apache.pdfbox.rendering.CIDType0Glyph2D
All Implemented Interfaces:
Glyph2D

final class CIDType0Glyph2D extends Object implements Glyph2D
GeneralPath conversion for CFF CIDFont.
  • Field Details

  • Constructor Details

    • CIDType0Glyph2D

      CIDType0Glyph2D(PDCIDFontType0 font)
      Constructor.
      Parameters:
      font - Type 0 CIDFont
  • Method Details

    • getPathForCharacterCode

      public GeneralPath getPathForCharacterCode(int code)
      Description copied from interface: Glyph2D
      Returns the path describing the glyph for the given character code.
      Specified by:
      getPathForCharacterCode in interface Glyph2D
      Parameters:
      code - the character code
      Returns:
      the GeneralPath for the given character code
    • dispose

      public void dispose()
      Description copied from interface: Glyph2D
      Remove all cached resources.
      Specified by:
      dispose in interface Glyph2D