CompatibilityReport
CompatibilityReport
Overview
CompatibilityReport є клас у Aspose.Font FOSS для Python.
CompatibilityReport.to_json(indent, sort_keys) повертає струнку JSON звіту і write_JSON ((target, indent , sort _keyes)) пише цей JCON безпосередньо в файл.
Цей клас надає 3 методи для роботи з об’єктами CompatibilityReport в програмах Python. Доступні методи включають: to_dict, to_json, write_json. Всі публічні члени доступні будь-якій додаткові Python після встановлення Aspose.Font FOSS для пакету Python. Свойства: after_label, after_normalized_coordinates, before_label, before_normalized_coordinates, checked_codepoints, compared_glyphs, і ще три.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
is_compatible | bool | Read | Це відповідає. |
before_label | str | Read | Він отримує етикет “до”. |
after_label | str | Read | Знайде етикет після. |
checked_codepoints | tuple[int, ...] | Read | Отримає кодові точки. |
compared_glyphs | int | Read | Зрозуміло, що це не так. |
before_normalized_coordinates | dict[str, float] | Read | Обирає нормалізовані координати. |
after_normalized_coordinates | dict[str, float] | Read | Отримає нормалізовані координати. |
issues | tuple[GlyphCompatibilityIssue, ...] | Read | Знайде проблеми. |
interpolation_issues | tuple[GlyphInterpolationIssue, ...] | Read | Починає проблеми з інтерполяцією. |
Methods
| Signature | Description |
|---|---|
to_dict() → dict[str, object] | Повертає словник звіту про сумішність. |
to_json(indent: int, sort_keys: bool) → str | Повертає струнку JSON доповіді, а write_json ((target, indent, sort_keys) записує цей JCON безпосередньо в файл. |
| `write_json(target: str | Path, indent: int, sort_keys: bool)` |