CompatibilityReport

CompatibilityReport

Vue de l’ensemble

‘CompatibilityReport’ est une classe dans Aspose.Font FOSS pour Python.

CompatibilitéReport.to_json(indent, sort_keys) retourne une ligne JSON du rapport et write_json(target, indent et sort-keyl) écrit que JSon directement vers un fichier.

Cette classe fournit 3 méthodes pour travailler avec CompatibilityReport objets dans les programmes Python. Les méthodologies disponibles comprennent: to_dict, t_json , ‘write_json. Tous les membres publics sont accessibles à n'importe quelle application Pythone après l'installation de l’Aspose.Font FOSS pour le package PyThone. Propriétés : after_label;efter-normalized_coordinates; before_Label‘; ‘be Before_normalised-coordinaires., checked&codepoints` et 3 autres.

Propriétés

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.

méthodes

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: strPath, indent: int, sort_keys: bool)`

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français