CompatibilityReport

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

NameTypeAccessDescription
is_compatibleboolReadNhận được nó là tương thích.
before_labelstrReadNhận được nhãn trước.
after_labelstrReadNhận được nhãn sau.
checked_codepointstuple[int, ...]ReadNhận các điểm mã được kiểm tra.
compared_glyphsintReadNhận được các glyphs so sánh.
before_normalized_coordinatesdict[str, float]ReadNhận được các phối hợp trước đó bình thường hóa.
after_normalized_coordinatesdict[str, float]ReadNhận các phối hợp sau khi bình thường hóa.
issuestuple[GlyphCompatibilityIssue, ...]ReadNhận được các vấn đề.
interpolation_issuestuple[GlyphInterpolationIssue, ...]ReadTìm hiểu các vấn đề interpolation.

Methods

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

See Also

 Tiếng Việt