DeltaInspector
DeltaInspector
Przegląd
DeltaInspector jest klasą w Aspose.Font FOSS dla Python.
DeltaInspector umożliwia szczegółową analizę variable‑font delta, generując obiekty GlyphDeltaReport i TextDeltaReport, które podkreślają zmiany współrzędnych w różnych instancjach.
Ta klasa udostępnia 8 metod do pracy z obiektami DeltaInspector w programach Python. Dostępne metody to: 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. Wszystkie publiczne elementy są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.Font FOSS dla Python.
Metody
| Sygnatura | Opis |
|---|---|
| `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 |