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
| Name | Type | Access | Description |
|---|---|---|---|
is_compatible | bool | Read | Gets the is compatible. |
before_label | str | Read | Gets the before label. |
after_label | str | Read | Gets the after label. |
checked_codepoints | tuple[int, ...] | Read | Gets the checked codepoints. |
compared_glyphs | int | Read | Gets the compared glyphs. |
before_normalized_coordinates | dict[str, float] | Read | Gets the before normalized coordinates. |
after_normalized_coordinates | dict[str, float] | Read | Gets the after normalized coordinates. |
issues | tuple[GlyphCompatibilityIssue, ...] | Read | Gets the issues. |
interpolation_issues | tuple[GlyphInterpolationIssue, ...] | Read | Gets the interpolation issues. |
méthodes
| Signature | Description |
|---|---|
to_dict() → dict[str, object] | Returns a dictionary representation of the compatibility report |
to_json(indent: int, sort_keys: bool) → str | Returns 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)` |
Voir aussi
- Aspose.Font — référence API d’entreprise