CompatibilityReport

CompatibilityReport

Overview

CompatibilityReport is a class in Aspose.Font FOSS for Python.

CompatibilityReport.to_json(indent, sort_keys) returns a JSON string of the report, and write_json(target, indent, sort_keys) writes that JSON directly to a file.

This class provides 3 methods for working with CompatibilityReport objects in Python programs. Available methods include: to_dict, to_json, write_json. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: after_label, after_normalized_coordinates, before_label, before_normalized_coordinates, checked_codepoints, compared_glyphs, and 3 more.

Properties

NameTypeAccessDescription
is_compatibleboolReadGets the is compatible.
before_labelstrReadGets the before label.
after_labelstrReadGets the after label.
checked_codepointstuple[int, ...]ReadGets the checked codepoints.
compared_glyphsintReadGets the compared glyphs.
before_normalized_coordinatesdict[str, float]ReadGets the before normalized coordinates.
after_normalized_coordinatesdict[str, float]ReadGets the after normalized coordinates.
issuestuple[GlyphCompatibilityIssue, ...]ReadGets the issues.
interpolation_issuestuple[GlyphInterpolationIssue, ...]ReadGets the interpolation issues.

Methods

SignatureDescription
to_dict()dict[str, object]Returns a dictionary representation of the compatibility report
to_json(indent: int, sort_keys: bool)strReturns a JSON string of the report, and write_json(target, indent, sort_keys) writes that JSON directly to a file
write_json(target: str | Path, indent: int, sort_keys: bool)Writes the report as JSON to the given file path with formatting options

See Also