FontProgramContext Class

Definition

Everything an IFontProgramParser may need beyond the program's bytes: where the program comes from, the font file stream's length entries, the limits on hostile data, and the diagnostics sink. A parsed program keeps its context and reports what it finds later (a damaged glyph) through it.

public sealed class FontProgramContext

Remarks

ISO 32000-2 §9.9, Tables 124 and 125. A context created with the public constructor stands alone: its diagnostics are kept in Diagnostics only, which is how a parser is tested or used outside a document. Inside a document, diagnostics are recorded on the document against the font file stream, once per code.

Thread safety: Report(String, DiagnosticSeverity, String) may be called from several threads at once (concurrent renders of one document).

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Fields (3)

Properties (13)

Methods (1)