Class CFFFont.Font

java.lang.Object
com.itextpdf.io.font.CFFFont.Font
Enclosing class:
CFFFont

protected final class CFFFont.Font extends Object
  • Constructor Details

    • Font

      protected Font()
  • Method Details

    • getName

      public String getName()
      Retrieves the name of the font.
      Returns:
      font name
    • setName

      public void setName (String name)
      Sets the name of the font.
      Parameters:
      name - font name
    • getFullName

      public String getFullName()
      Retrieves the full name of the font.
      Returns:
      full font name
    • setFullName

      public void setFullName (String fullName)
      Sets the full name of the font.
      Parameters:
      fullName - full font name
    • isCID

      public boolean isCID()
      Retrieves whether the font is a CID font.
      Returns:
      true if font is CID font, false otherwise
    • setCID

      public void setCID (boolean CID)
      Sets if font is CID font.
      Parameters:
      CID - true if font is CID font, false otherwise
    • getPrivateOffset

      public int getPrivateOffset()
      Retrieves the private offset of the font.
      Returns:
      private offset value
    • setPrivateOffset

      public void setPrivateOffset (int privateOffset)
      Sets the private offset of the font.
      Parameters:
      privateOffset - private offset value
    • getPrivateLength

      public int getPrivateLength()
      Retrieves the private length of the font.
      Returns:
      private length value
    • setPrivateLength

      public void setPrivateLength (int privateLength)
      Sets the private length of the font.
      Parameters:
      privateLength - private length value
    • getPrivateSubrs

      public int getPrivateSubrs()
      Retrieves the private subrs of the font.
      Returns:
      private subrs value
    • setPrivateSubrs

      public void setPrivateSubrs (int privateSubrs)
      Sets the private subrs of the font.
      Parameters:
      privateSubrs - private subrs value
    • getCharstringsOffset

      public int getCharstringsOffset()
      Retrieves the char string offset of the font.
      Returns:
      char string offset
    • setCharstringsOffset

      public void setCharstringsOffset (int charstringsOffset)
      Sets the char string offset of the font.
      Parameters:
      charstringsOffset - char string offset
    • getEncodingOffset

      public int getEncodingOffset()
      Retrieves the encoding offset of the font.
      Returns:
      encoding offset
    • setEncodingOffset

      public void setEncodingOffset (int encodingOffset)
      Sets the encoding offset of the font.
      Parameters:
      encodingOffset - encoding offset
    • getCharsetOffset

      public int getCharsetOffset()
      Retrieves the charset offset of the font.
      Returns:
      charset offset
    • setCharsetOffset

      public void setCharsetOffset (int charsetOffset)
      Sets the charset offset of the font.
      Parameters:
      charsetOffset - charset offset
    • getFdarrayOffset

      public int getFdarrayOffset()
      Retrieves the font dictionary array offset of the object.
      Returns:
      FD array offset
    • setFdarrayOffset

      public void setFdarrayOffset (int fdarrayOffset)
      Sets the font dictionary array offset of the object.
      Parameters:
      fdarrayOffset - FD array offset
    • getFdselectOffset

      public int getFdselectOffset()
      Retrieves the font dictionary select offset of the object.
      Returns:
      FD select offset
    • setFdselectOffset

      public void setFdselectOffset (int fdselectOffset)
      Sets the font dictionary select offset of the object.
      Parameters:
      fdselectOffset - FD select offset
    • getFdprivateOffsets

      public int[] getFdprivateOffsets()
      Retrieves the font dictionary private offsets of the object.
      Returns:
      FD private offsets
    • setFdprivateOffsets

      public void setFdprivateOffsets (int[] fdprivateOffsets)
      Sets the font dictionary private offsets of the object.
      Parameters:
      fdprivateOffsets - FD private offsets
    • getFdprivateLengths

      public int[] getFdprivateLengths()
      Retrieves the font dictionary private lengths of the object.
      Returns:
      FD private lengths
    • setFdprivateLengths

      public void setFdprivateLengths (int[] fdprivateLengths)
      Sets the font dictionary private lengths of the object.
      Parameters:
      fdprivateLengths - FD private lengths
    • getFdprivateSubrs

      public int[] getFdprivateSubrs()
      Retrieves the font dictionary private subrs of the object.
      Returns:
      FD private subrs
    • setFdprivateSubrs

      public void setFdprivateSubrs (int[] fdprivateSubrs)
      Sets the font dictionary private subrs of the object.
      Parameters:
      fdprivateSubrs - FD private subrs
    • getNglyphs

      public int getNglyphs()
      Retrieves the number of glyphs of the font.
      Returns:
      number of glyphs
    • setNglyphs

      public void setNglyphs (int nglyphs)
      Sets the number of glyphs of the font.
      Parameters:
      nglyphs - number of glyphs
    • getNstrings

      public int getNstrings()
      Retrieves the number of strings of the font.
      Returns:
      number of strings
    • setNstrings

      public void setNstrings (int nstrings)
      Sets the number of strings of the font.
      Parameters:
      nstrings - number of strings
    • getCharsetLength

      public int getCharsetLength()
      Retrieves the charset length of the font.
      Returns:
      charset length
    • setCharsetLength

      public void setCharsetLength (int charsetLength)
      Sets the charset length of the font.
      Parameters:
      charsetLength - charset length
    • getCharstringsOffsets

      public int[] getCharstringsOffsets()
      Retrieves the char strings offsets of the font.
      Returns:
      char strings offsets
    • setCharstringsOffsets

      public void setCharstringsOffsets (int[] charstringsOffsets)
      Sets the char strings offsets of the font.
      Parameters:
      charstringsOffsets - char strings offsets
    • getCharset

      public int[] getCharset()
      Retrieves the charset of the font.
      Returns:
      charset
    • setCharset

      public void setCharset (int[] charset)
      Sets the charset of the font.
      Parameters:
      charset - charset
    • getFDSelect

      public int[] getFDSelect()
      Retrieves the font dictionary select of the object.
      Returns:
      FD select
    • setFDSelect

      public void setFDSelect (int[] FDSelect)
      Sets the font dictionary select of the object.
      Parameters:
      FDSelect - FD select
    • getFDSelectLength

      public int getFDSelectLength()
      Retrieves the font dictionary select length of the object.
      Returns:
      FD select length
    • setFDSelectLength

      public void setFDSelectLength (int FDSelectLength)
      Sets the font dictionary select length of the object.
      Parameters:
      FDSelectLength - FD select length
    • getFDSelectFormat

      public int getFDSelectFormat()
      Retrieves the font dictionary select format of the object.
      Returns:
      FD select format
    • setFDSelectFormat

      public void setFDSelectFormat (int FDSelectFormat)
      Sets the font dictionary select format of the object.
      Parameters:
      FDSelectFormat - FD select format
    • getCharstringType

      public int getCharstringType()
      Retrieves the char string type of the font.
      Returns:
      char string type
    • setCharstringType

      public void setCharstringType (int charstringType)
      Sets the char string type of the font.
      Parameters:
      charstringType - char string type
    • getFDArrayCount

      public int getFDArrayCount()
      Retrieves the font dictionary array count of the object.
      Returns:
      FD array count
    • setFDArrayCount

      public void setFDArrayCount (int FDArrayCount)
      Sets the font dictionary array count of the object.
      Parameters:
      FDArrayCount - FD array count
    • getFDArrayOffsize

      public int getFDArrayOffsize()
      Retrieves the font dictionary array offsize of the object.
      Returns:
      FD array offsize
    • setFDArrayOffsize

      public void setFDArrayOffsize (int FDArrayOffsize)
      Sets the font dictionary array offsize of the object.
      Parameters:
      FDArrayOffsize - FD array offsize
    • getFDArrayOffsets

      public int[] getFDArrayOffsets()
      Retrieves the font dictionary array offsets of the object.
      Returns:
      FD array offsets
    • setFDArrayOffsets

      public void setFDArrayOffsets (int[] FDArrayOffsets)
      Sets the font dictionary array offsets of the object.
      Parameters:
      FDArrayOffsets - FD array offsets
    • getPrivateSubrsOffset

      public int[] getPrivateSubrsOffset()
      Retrieves the private subrs offset of the font.
      Returns:
      private subrs offset
    • setPrivateSubrsOffset

      public void setPrivateSubrsOffset (int[] privateSubrsOffset)
      Set the private subrs offset of the font
      Parameters:
      privateSubrsOffset - private subrs offset
    • getPrivateSubrsOffsetsArray

      public int[][] getPrivateSubrsOffsetsArray()
      Retrieves the private subrs offsets array of the font.
      Returns:
      private subrs offsets array
    • setPrivateSubrsOffsetsArray

      public void setPrivateSubrsOffsetsArray (int[][] privateSubrsOffsetsArray)
      Sets the private subrs offsets array of the font.
      Parameters:
      privateSubrsOffsetsArray - private subrs offsets array
    • getSubrsOffsets

      public int[] getSubrsOffsets()
      Retrieves the subrs offsets of the font.
      Returns:
      subrs offsets
    • setSubrsOffsets

      public void setSubrsOffsets (int[] subrsOffsets)
      Sets the subrs offsets of the font.
      Parameters:
      subrsOffsets - subrs offsets
    • getGidToCid

      public int[] getGidToCid()
      Retrieves the glyphs to character id array of the font.
      Returns:
      glyphs to character id array
    • setGidToCid

      public void setGidToCid (int[] gidToCid)
      Sets the glyphs to character id array of the font.
      Parameters:
      gidToCid - glyphs to character id array