iText 8.0.2 API
|
Public Member Functions |
|
virtual bool | IsBuiltInFont () |
override int | GetPdfFontFlags () |
virtual String | GetCharacterSet () |
override bool | HasKernPairs () |
Checks if the font has any kerning pairs. More... |
|
override int | GetKerning (Glyph first, Glyph second) |
Gets the kerning between two glyphs. More... |
|
virtual bool | SetKerning (int first, int second, int kern) |
Sets the kerning between two Unicode chars. More... |
|
virtual Glyph | GetGlyph (String name) |
Find glyph by glyph name. More... |
|
virtual byte[] | GetFontStreamBytes () |
virtual int[] | GetFontStreamLengths () |
override bool | IsBuiltWith (String fontProgram) |
Checks whether the FontProgram was built with corresponding fontName. More... |
|
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 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 int | GetKerning (int first, int second) |
Gets the kerning between two glyphs. More... |
|
override String | ToString () |
Additional Inherited Members |
|
Static Public Member Functions inherited from iText.IO.Font.FontProgram | |
static float | ConvertTextSpaceToGlyphSpace (float value) |
static float | ConvertGlyphSpaceToTextSpace (float value) |
static double | ConvertGlyphSpaceToTextSpace (double value) |
static int | ConvertGlyphSpaceToTextSpace (int value) |
Static Public Attributes inherited from iText.IO.Font.FontProgram | |
const int | HORIZONTAL_SCALING_FACTOR = 100 |
const int | DEFAULT_WIDTH = 1000 |
const int | UNITS_NORMALIZATION = 1000 |
|
inlinevirtual |
Find glyph by glyph name.
name | Glyph name |
Gets the kerning between two glyphs.
first | the first glyph |
second | the second glyph |
Implements iText.IO.Font.FontProgram.
|
inlinevirtual |
Checks if the font has any kerning pairs.
true
if the font has any kerning pairs.
Reimplemented from iText.IO.Font.FontProgram.
|
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 from iText.IO.Font.FontProgram.
|
inlinevirtual |
Sets the kerning between two Unicode chars.
first | the first unicode char. |
second | the second unicode char. |
kern | the kerning to apply in normalized 1000 units. |
true
if the kerning was applied, false
otherwise.