Table of Contents

Class PdfTrueTypeFont

Namespace
iText.Kernel.Font
Assembly
itext.kernel.dll

Note.

public class PdfTrueTypeFont : PdfSimpleFont<TrueTypeFont>
Inheritance
PdfTrueTypeFont
Inherited Members

Remarks

Note. For TrueType FontNames.getStyle() is the same to Subfamily(). So, we shouldn't add style to /BaseFont.

Methods

AddFontStream(PdfDictionary)

protected override void AddFontStream(PdfDictionary fontDescriptor)

Parameters

fontDescriptor PdfDictionary

ContainsGlyph(int)

public override bool ContainsGlyph(int unicode)

Parameters

unicode int

Returns

bool

Flush()

public override void Flush()

GetGlyph(int)

public override Glyph GetGlyph(int unicode)

Parameters

unicode int

Returns

Glyph

IsBuiltInFont()

protected override bool IsBuiltInFont()

Returns

bool

IsBuiltWith(string, string)

public override bool IsBuiltWith(string fontProgram, string encoding)

Parameters

fontProgram string
encoding string

Returns

bool