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)
A stable PascalCase identifier of the kind of deviation, such as FontGlyphInvalid.
Whether the repair kept the glyphs (Warning) or lost some.
What was wrong and what the parser did.
Inside a document the diagnostic is recorded on the document, against the font file stream.