iText 7 7.1.8 API
iText.Kernel.Font.Type3Font Class Reference

FontProgram class for Type 3 font. More...

Inheritance diagram for iText.Kernel.Font.Type3Font:
iText.IO.Font.FontProgram

Public Member Functions

virtual Type3Glyph  GetType3Glyph (int unicode)
 
override int  GetPdfFontFlags ()
 
override bool  IsFontSpecific ()
 
virtual bool  IsColorized ()
 
override int  GetKerning (Glyph glyph1, Glyph glyph2)
  Gets the kerning between two glyphs. More...
 
virtual int  GetNumberOfGlyphs ()
 
- Public Member Functions inherited from iText.IO.Font.FontProgram
virtual int  CountOfGlyphs ()
 
virtual FontNames  GetFontNames ()
 
virtual FontMetrics  GetFontMetrics ()
 
virtual FontIdentification  GetFontIdentification ()
 
virtual String  GetRegistry ()
 
virtual int  GetWidth (int unicode)
  Get glyph's width. More...
 
virtual int  GetAvgWidth ()
 
virtual int[]  GetCharBBox (int unicode)
  Get glyph's bbox. More...
 
virtual Glyph  GetGlyph (int unicode)
 
virtual Glyph  GetGlyphByCode (int charCode)
 
virtual bool  HasKernPairs ()
 
virtual int  GetKerning (int first, int second)
  Gets the kerning between two glyphs. More...
 
virtual bool  IsBuiltWith (String fontName)
  Checks whether the FontProgram was built with corresponding fontName. Default value is false unless overridden. More...
 
override String  ToString ()
 

Additional Inherited Members

- Static Public Attributes inherited from iText.IO.Font.FontProgram
const int  DEFAULT_WIDTH = 1000
 
const int  UNITS_NORMALIZATION = 1000
 

Detailed Description

FontProgram class for Type 3 font.

FontProgram class for Type 3 font. Contains map of Type3GlyphType3Glyphs belong to a particular pdf document. Note, an instance of Type3Font can not be reused for multiple pdf documents.

Member Function Documentation

◆ GetKerning()

override int iText.Kernel.Font.Type3Font.GetKerning ( Glyph  first,
Glyph  second 
)
inlinevirtual

Gets the kerning between two glyphs.

Parameters
first the first glyph
second the second glyph
Returns
the kerning to be applied

Implements iText.IO.Font.FontProgram.