iText 8.0.5 API
|
Note. More...
Public Member Functions |
|
override Glyph | GetGlyph (int unicode) |
override bool | ContainsGlyph (int unicode) |
override void | Flush () |
override bool | IsBuiltWith (String fontProgram, String encoding) |
Public Member Functions inherited from iText.Kernel.Font.PdfSimpleFont< TrueTypeFont > | |
override bool | IsBuiltWith (String fontProgram, String encoding) |
Checks whether the PdfFont was built with corresponding fontProgram and encoding or CMAP. More... |
|
override GlyphLine | CreateGlyphLine (String content) |
override int | AppendGlyphs (String text, int from, int to, IList< Glyph > glyphs) |
Append all supported glyphs and return number of processed chars. More... |
|
override int | AppendAnyGlyph (String text, int from, IList< Glyph > glyphs) |
Append any single glyph, even notdef. More... |
|
virtual FontEncoding | GetFontEncoding () |
Get the font encoding. More... |
|
virtual CMapToUnicode | GetToUnicode () |
Get the mapping of character codes to unicode values based on /ToUnicode entry of font dictionary. More... |
|
override byte[] | ConvertToBytes (String text) |
Converts the text into bytes to be placed in the document. More... |
|
override byte[] | ConvertToBytes (GlyphLine glyphLine) |
override byte[] | ConvertToBytes (Glyph glyph) |
override void | WriteText (GlyphLine text, int from, int to, PdfOutputStream stream) |
override void | WriteText (String text, PdfOutputStream stream) |
override String | Decode (PdfString content) |
override GlyphLine | DecodeIntoGlyphLine (PdfString content) |
override bool | AppendDecodedCodesToGlyphsList (IList< Glyph > list, PdfString characterCodes) |
override float | GetContentWidth (PdfString content) |
virtual bool | IsForceWidthsOutput () |
Gets the state of the property. More... |
|
virtual void | SetForceWidthsOutput (bool forceWidthsOutput) |
Set to true to force the generation of the widths array. More... |
|
Package Functions |
|
override void | AddFontStream (PdfDictionary fontDescriptor) |
override bool | IsBuiltInFont () |
Indicates that the font is built in, i.e. it is one of the 14 Standard fonts More... |
|
Package Functions inherited from iText.Kernel.Font.PdfSimpleFont< TrueTypeFont > | |
PdfSimpleFont (PdfDictionary fontDictionary) | |
virtual void | FlushFontData (String fontName, PdfName subtype) |
override PdfDictionary | GetFontDescriptor (String fontName) |
Generates the font descriptor for this font or null if it is one of the 14 built in fonts. More... |
|
virtual PdfArray | BuildWidthsArray (int firstChar, int lastChar) |
abstract void | AddFontStream (PdfDictionary fontDescriptor) |
virtual void | SetFontProgram (T fontProgram) |
Additional Inherited Members |
|
Package Attributes inherited from iText.Kernel.Font.PdfSimpleFont< TrueTypeFont > | |
FontEncoding | fontEncoding |
bool | forceWidthsOutput |
Forces the output of the width array. More... |
|
byte[] | usedGlyphs |
The array used with single byte encodings. More... |
|
CMapToUnicode | toUnicode |
Currently only exists for the fonts that are parsed from the document. More... |
|
Note.
Note. For TrueType FontNames.getStyle() is the same to Subfamily(). So, we shouldn't add style to /BaseFont.
|
inlinepackagevirtual |
Indicates that the font is built in, i.e. it is one of the 14 Standard fonts
Reimplemented from iText.Kernel.Font.PdfSimpleFont< TrueTypeFont >.