CompatibilityChecker
CompatibilityChecker
Przegląd
CompatibilityChecker jest klasą w Aspose.Font FOSS dla Python.
CompatibilityChecker.compare_fonts(before, after, before_label, after_label, codepoints, text) tworzy CompatibilityReport, który może być wyeksportowany do JSON za pomocą report.to_json(indent=2, sort_keys=True).
Ta klasa zapewnia 2 metody do pracy z obiektami CompatibilityChecker w programach Python. Dostępne metody to: compare_fonts, compare_variable_instances. Wszystkie publiczne elementy są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.Font FOSS dla Python.
Metody
| Sygnatura | Opis |
|---|---|
| `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] |