iText 8.0.2 API
|
Public Member Functions |
|
virtual int | CountOfGlyphs () |
virtual FontNames | GetFontNames () |
virtual FontMetrics | GetFontMetrics () |
virtual FontIdentification | GetFontIdentification () |
virtual String | GetRegistry () |
abstract int | GetPdfFontFlags () |
virtual bool | IsFontSpecific () |
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... |
|
abstract int | GetKerning (Glyph first, Glyph second) |
Gets the kerning between two glyphs. More... |
|
virtual bool | IsBuiltWith (String fontName) |
Checks whether the FontProgram was built with corresponding fontName. More... |
|
override String | ToString () |
Static Public Attributes |
|
const int | HORIZONTAL_SCALING_FACTOR = 100 |
const int | DEFAULT_WIDTH = 1000 |
const int | UNITS_NORMALIZATION = 1000 |
|
inlinevirtual |
Get glyph's bbox.
unicode | a unicode symbol or FontSpecif code. |
Gets the kerning between two glyphs.
first | the first glyph |
second | the second glyph |
Implemented in iText.Kernel.Font.Type3Font, iText.IO.Font.CidFont, iText.IO.Font.Type1Font, and iText.IO.Font.TrueTypeFont.
|
inlinevirtual |
Gets the kerning between two glyphs.
first | the first unicode value |
second | the second unicode value |
|
inlinevirtual |
Get glyph's width.
unicode | a unicode symbol or FontSpecif code. |
|
inlinevirtual |
Checks whether the FontProgram was built with corresponding fontName.
Checks whether the FontProgram was built with corresponding fontName. Default value is false unless overridden.
fontName | a font name or path to a font program |
Reimplemented in iText.IO.Font.TrueTypeFont, iText.IO.Font.Type1Font, iText.Kernel.Font.DocTrueTypeFont, and iText.IO.Font.CidFont.