[]
Represents and manages a Font used in a GcPdfDocument.
public class FontHandler
Initializes a new instance of the FontHandler class.
public FontHandler(Font font)
Gets the GcPdfDocument owning this FontHandler.
public GcPdfDocument Doc { get; }
Gets or sets the font embedding mode.
By default this property is unspecified (null), and the actual embedding mode depends on whether or not the Font is one of StandardFonts.
For standard fonts, StandardFontEmbedMode determines the embedding mode.
For all other fonts, FontEmbedMode determines the embedding mode.
public FontEmbedMode? EmbedMode { get; set; }
Gets the Font associated with this FontHandler.
public Font Font { get; }
Gets or sets the flags that allow fine-tuning the creation of subset for this font.
By default this is null, which indicates that GcPdf will select appropriate flags automatically.
public FontSubsetFlags? FontSubsetFlags { get; set; }
Gets the FontHandlerCollection containing this FontHandler.
public FontHandlerCollection Owner { get; }
Gets a value indicating whether the current font is actually used in the document.
public bool UsedInDocument { get; }
Gets or sets a Utf32CodeSet object that specifies which Unicode characters will be included in the embedded subset in addition to the glyphs used in the static document content.
By default this property is null.
public Utf32CodeSet Utf32CodeSet { get; set; }