Report(String, DiagnosticSeverity, String) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Records a deviation found in the program and what the parser did about it. Only the first of each code is kept.

public void Report(string code, DiagnosticSeverity severity, string message)

Parameters

code
String

A stable PascalCase identifier of the kind of deviation, such as FontGlyphInvalid.

severity
DiagnosticSeverity

Whether the repair kept the glyphs (Warning) or lost some.

message
String

What was wrong and what the parser did.

Remarks

Inside a document the diagnostic is recorded on the document, against the font file stream.