CompatibilityReport

CompatibilityReport

概要

CompatibilityReport は Aspose.Font の Python 用 FOSS のクラスです。

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 の Python 用 FOSS パッケージをインストールすると、すべてのパブリックメンバーが任意の Python アプリケーションからアクセス可能になります。プロパティ: after_label、after_normalized_coordinates、before_label、before_normalized_coordinates、checked_codepoints、compared_glyphs、およびその他 3 つ。

プロパティ

名前型アクセス説明
is_compatiblebool読み取り互換性があるかどうかを取得します。
before_labelstr読み取りbefore label を取得します。
after_labelstr読み取りafter ラベルを取得します。
checked_codepointstuple[int, ...]読み取りチェックされたコードポイントを取得します。
compared_glyphsint読み取り比較されたグリフを取得します。
before_normalized_coordinatesdict[str, float]読み取り正規化前の座標を取得します。
after_normalized_coordinatesdict[str, float]読み取り正規化後の座標を取得します。
issuestuple[GlyphCompatibilityIssue, ...]読み取り問題を取得します。
interpolation_issuestuple[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: strPath, indent: int, sort_keys: bool)`

参照

 日本語