DeltaInspector
概要
DeltaInspector は Aspose.Font の FOSS における Python 用のクラスです。
DeltaInspector は、詳細な可変フォントデルタ解析を可能にし、インスタンス間の座標変化を強調する GlyphDeltaReport および TextDeltaReport オブジェクトを生成します。
このクラスは、Python プログラムで DeltaInspector オブジェクトを操作するための 8 つのメソッドを提供します。利用可能なメソッドは、build_delta_comparison_sheet、build_delta_sheet、build_delta_text_comparison_sheet、build_delta_text_sheet、compare_variable_glyph、compare_variable_text、inspect_variable_glyph、inspect_variable_text です。すべてのパブリックメンバーは、Aspose.Font の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションから利用可能です。
メソッド
| シグネチャ | 説明 |
|---|---|
| `inspect_variable_glyph(font, glyph_id: int | None, codepoint: int |
| `build_delta_sheet(font, glyph_id: int | None, codepoint: int |
| `compare_variable_glyph(font, glyph_id: int | None, codepoint: int |
| `inspect_variable_text(font, text: str, coordinates: dict[str, float] | None, instance_name: str |
| `compare_variable_text(font, text: str, before_coordinates: dict[str, float] | None, after_coordinates: dict[str, float] |
| `build_delta_text_sheet(font, text: str, coordinates: dict[str, float] | None, instance_name: str |
| `build_delta_text_comparison_sheet(font, text: str, before_coordinates: dict[str, float] | None, after_coordinates: dict[str, float] |
| `build_delta_comparison_sheet(font, glyph_id: int | None, codepoint: int |