CompatibilityReport
Overview
CompatibilityReport là một lớp trong Aspose.Font FOSS cho Python.
CompatibilityReport.to_json(indent, sort_keys) trả về một dòng JSON của báo cáo và write_json(target, indent , sort-key) viết rằng JSon trực tiếp vào tệp.
Khóa học này cung cấp 3 phương pháp để làm việc với các đối tượng CompatibilityReport trong các chương trình Python. Các phương pháp có sẵn bao gồm: to_dict, to_json, write_json. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.Font FOSS cho gói Python. Tài sản : after_label, after_normalized_coordinates, before_label, before_normalized_coordinates, checked_codepoints, compared_glyphs,Và 3 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
is_compatible | bool | Read | Nhận được nó là tương thích. |
before_label | str | Read | Nhận được nhãn trước. |
after_label | str | Read | Nhận được nhãn sau. |
checked_codepoints | tuple[int, ...] | Read | Nhận các điểm mã được kiểm tra. |
compared_glyphs | int | Read | Nhận được các glyphs so sánh. |
before_normalized_coordinates | dict[str, float] | Read | Nhận được các phối hợp trước đó bình thường hóa. |
after_normalized_coordinates | dict[str, float] | Read | Nhận các phối hợp sau khi bình thường hóa. |
issues | tuple[GlyphCompatibilityIssue, ...] | Read | Nhận được các vấn đề. |
interpolation_issues | tuple[GlyphInterpolationIssue, ...] | Read | Tìm hiểu các vấn đề interpolation. |
Methods
| Signature | Description |
|---|---|
to_dict() → dict[str, object] | Trả lại một biểu mẫu từ điển của báo cáo tương thích |
to_json(indent: int, sort_keys: bool) → str | Trở lại một dòng JSON của báo cáo, và viết_json(target, indent, sort_keys) viết rằng J SON trực tiếp vào tệp |
| `write_json(target: str | Path, indent: int, sort_keys: bool)` |