CompatibilityReport
개요
CompatibilityReport은 Aspose.Font FOSS에서 Python용 클래스입니다.
CompatibilityReport.to_json(indent, sort_keys)는 보고서의 JSON 문자열을 반환하고, write_json(target, indent, sort_keys)는 해당 JSON을 파일에 직접 기록합니다.
이 클래스는 Python 프로그램에서 CompatibilityReport 객체를 다루기 위한 3개의 메서드를 제공합니다. 사용 가능한 메서드에는 to_dict, to_json, write_json가 포함됩니다. 모든 공개 멤버는 Aspose.Font FOSS for Python 패키지를 설치한 후 모든 Python 애플리케이션에서 접근할 수 있습니다. 속성: after_label, after_normalized_coordinates, before_label, before_normalized_coordinates, checked_codepoints, compared_glyphs, 및 3개 더.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
is_compatible | bool | 읽기 | 호환 여부를 가져옵니다. |
before_label | str | 읽기 | 이전 레이블을 가져옵니다. |
after_label | str | 읽기 | after 레이블을 가져옵니다. |
checked_codepoints | tuple[int, ...] | 읽기 | 체크된 코드포인트를 가져옵니다. |
compared_glyphs | int | 읽기 | 비교된 글리프를 가져옵니다. |
before_normalized_coordinates | dict[str, float] | 읽기 | 정규화되기 전 좌표를 가져옵니다. |
after_normalized_coordinates | dict[str, float] | 읽기 | 정규화된 후 좌표를 가져옵니다. |
issues | tuple[GlyphCompatibilityIssue, ...] | 읽기 | 문제를 가져옵니다. |
interpolation_issues | tuple[GlyphInterpolationIssue, ...] | 읽기 | 보간 문제를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
to_dict() → dict[str, object] | 호환성 보고서의 사전 표현을 반환합니다. |
to_json(indent: int, sort_keys: bool) → str | 보고서의 JSON 문자열을 반환하고, write_json(target, indent, sort_keys)은 해당 JSON을 파일에 직접 기록합니다. |
| `write_json(target: str | Path, indent: int, sort_keys: bool)` |