iText 8.0.5 API
|
Public Member Functions |
|
virtual PdfStream | GetFontFile () |
virtual PdfName | GetFontFileName () |
virtual PdfName | GetSubtype () |
override bool | IsBuiltWith (String fontName) |
Returns false, because we cannot rely on an actual font subset and font name. More... |
|
virtual int | GetMissingWidth () |
Public Member Functions inherited from iText.IO.Font.TrueTypeFont | |
TrueTypeFont (String path) | |
TrueTypeFont (byte[] ttf) | |
override bool | HasKernPairs () |
override int | GetKerning (Glyph first, Glyph second) |
Gets the kerning between two glyphs. More... |
|
virtual bool | IsCff () |
virtual IDictionary< int, int[]> | GetActiveCmap () |
virtual byte[] | GetFontStreamBytes () |
override int | GetPdfFontFlags () |
virtual int | GetDirectoryOffset () |
The offset from the start of the file to the table directory. More... |
|
virtual GlyphSubstitutionTableReader | GetGsubTable () |
virtual GlyphPositioningTableReader | GetGposTable () |
virtual OpenTypeGdefTableReader | GetGdefTable () |
virtual byte[] | GetSubset (ICollection< int > glyphs, bool subset) |
virtual ICollection< int > | MapGlyphsCidsToGids (ICollection< int > glyphs) |
Maps a set of glyph CIDs (as used in PDF file) to corresponding GID values (as a glyph primary identifier in the font file). More... |
|
virtual String[] | GetCodePagesSupported () |
Gets the code pages supported by the font. More... |
|
virtual void | Close () |
virtual void | UpdateUsedGlyphs (SortedSet< int > usedGlyphs, bool subset, IList< int[]> subsetRanges) |
The method will update usedGlyphs with additional range or with all glyphs if there is no subset. 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 |
Package Functions inherited from iText.IO.Font.TrueTypeFont | |
virtual void | ReadGdefTable () |
virtual void | ReadGsubTable () |
virtual void | ReadGposTable () |
Package Functions inherited from iText.IO.Font.FontProgram | |
virtual void | SetRegistry (String registry) |
virtual void | SetTypoAscender (int ascender) |
Sets typo ascender. More... |
|
virtual void | SetTypoDescender (int descender) |
Sets typo descender. More... |
|
virtual void | SetCapHeight (int capHeight) |
Sets the capital letters height. More... |
|
virtual void | SetXHeight (int xHeight) |
virtual void | SetItalicAngle (int italicAngle) |
Sets the PostScript italic angle. More... |
|
virtual void | SetStemV (int stemV) |
virtual void | SetStemH (int stemH) |
virtual void | SetFontWeight (int fontWeight) |
Sets font weight. More... |
|
virtual void | SetFontStretch (String fontWidth) |
Sets font width in css notation (font-stretch property) More... |
|
virtual void | SetFixedPitch (bool isFixedPitch) |
virtual void | SetBold (bool isBold) |
virtual void | SetBbox (int[] bbox) |
virtual void | SetFontFamily (String fontFamily) |
Sets a preferred font family name. More... |
|
virtual void | SetFontName (String fontName) |
Sets the PostScript name of the font. More... |
|
virtual void | FixSpaceIssue () |
Package Attributes inherited from iText.IO.Font.TrueTypeFont | |
int[][] | bBoxes |
bool | isVertical |
IntHashtable | kerning = new IntHashtable() |
The map containing the kerning information. More... |
|
Package Attributes inherited from iText.IO.Font.FontProgram | |
IDictionary< int, Glyph > | codeToGlyph = new Dictionary |
IDictionary< int, Glyph > | unicodeToGlyph = new Dictionary |
bool | isFontSpecific |
FontNames | fontNames |
FontMetrics | fontMetrics = new FontMetrics() |
FontIdentification | fontIdentification = new FontIdentification() |
int | avgWidth |
String | encodingScheme = FontEncoding.FONT_SPECIFIC |
The font's encoding name. More... |
|
String | registry |
|
inlinevirtual |
Returns false, because we cannot rely on an actual font subset and font name.
fontName | a font name or path to a font program |
Reimplemented from iText.IO.Font.TrueTypeFont.