DeltaInspector
Overview
DeltaInspector là một lớp trong Aspose.Font FOSS cho Python.
DeltaInspector cho phép phân tích delta chi tiết của biến-font, tạo ra các đối tượng GlyphDeltaReport và TextDeltaReport để nhấn mạnh sự phối hợp thay đổi trong mỗi trường hợp.
Khóa học này cung cấp 8 phương pháp để làm việc với các đối tượng DeltaInspector trong các chương trình Python. Các phương pháp có sẵn bao gồm: 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. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.Font FOSS cho gói Python.
Methods
| Signature | Description |
|---|---|
| `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 |