iText 8.0.2 API
|
FontProgram class for Type 3 font. More...
Public Member Functions |
|
virtual Type3Glyph | GetType3Glyph (int unicode) |
Returns a glyph by unicode. More... |
|
virtual Type3Glyph | GetType3GlyphByCode (int code) |
Returns a glyph by its code. More... |
|
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 () |
Returns number of glyphs for this font. 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 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. 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 |
FontProgram class for Type 3 font.
FontProgram class for Type 3 font. Contains map of Type3Glyph. Type3Glyphs belong to a particular pdf document. Note, an instance of Type3Font can not be reused for multiple pdf documents.
Gets the kerning between two glyphs.
first | the first glyph |
second | the second glyph |
Implements iText.IO.Font.FontProgram.
|
inlinevirtual |
Returns number of glyphs for this font.
Returns number of glyphs for this font. Its also count glyphs without unicode. See type3GlyphsWithoutUnicode.
int
number off all glyphs
|
inlinevirtual |
Returns a glyph by unicode.
unicode | glyph unicode |
Type3Glyph glyph, or null
if this font does not contain glyph for the unicode
|
inlinevirtual |
Returns a glyph by its code.
Returns a glyph by its code. These glyphs may not have unicode.
code | glyph code |
Type3Glyph glyph, or null
if this font does not contain glyph for the code