CompatibilityChecker
Overview
CompatibilityChecker là một lớp trong Aspose.Font FOSS cho Python.
CompatibilityChecker.compare_fonts( trước, sau, trước_label, after_Label , codepoints, text) tạo ra một CompatibilityReport có thể được xuất khẩu sang JSON thông qua report.to_json (indent=2, sort_keys=True).
Khóa học này cung cấp 2 phương pháp để làm việc với các đối tượng CompatibilityChecker trong các chương trình Python. Các phương pháp có sẵn bao gồm: compare_fonts, compare_variable_instances. 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.
Methods
| Signature | Description |
|---|---|
| `compare_fonts(before: Font, after: Font, before_label: str, after_label: str, codepoints: list[int] | tuple[int, …] |
| `compare_variable_instances(font, before_coordinates: dict[str, float] | None, after_coordinates: dict[str, float] |