Table of Contents

Property MissingGlyphHandler

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

MissingGlyphHandler

Gets or sets the handler for glyphs that cannot be drawn using the current Font.

public PdfMissingGlyphMapper? MissingGlyphHandler { get; set; }

Property Value

PdfMissingGlyphMapper

The handler to substitute text for glyphs that cannot be drawn. When the value is null then CannotShowTextException will be thrown for missing glyphs.

Remarks

Default value: null.

You can use the following handler to substitute missing glyphs with a fixed text ("?" in this example):

(glyphText) => "?";

Use the following handler to skip glyphs that cannot be drawn:

(glyphText) => null;