Class CidFont

java.lang.Object
com.itextpdf.io.font.FontProgram
com.itextpdf.io.font.CidFont

public class CidFont extends FontProgram
  • Method Details

    • compatibleWith

      public boolean compatibleWith (String cmap)
    • getKerning

      public int getKerning (Glyph glyph1, Glyph glyph2)
      Description copied from class: FontProgram
      Gets the kerning between two glyphs.
      Specified by:
      getKerning in class FontProgram
      Parameters:
      glyph1 - the first glyph
      glyph2 - the second glyph
      Returns:
      the kerning to be applied
    • getPdfFontFlags

      public int getPdfFontFlags()
      Specified by:
      getPdfFontFlags in class FontProgram
    • isFontSpecific

      public boolean isFontSpecific()
      Overrides:
      isFontSpecific in class FontProgram
    • isBuiltWith

      public boolean isBuiltWith (String fontName)
      Description copied from class: FontProgram
      Checks whether the FontProgram was built with corresponding fontName. Default value is false unless overridden.
      Overrides:
      isBuiltWith in class FontProgram
      Parameters:
      fontName - a font name or path to a font program
      Returns:
      true, if the FontProgram was built with the fontProgram. Otherwise false.