DeltaInspector
סקירה כללית
DeltaInspector הוא שיעור ב Aspose.Font FOSS עבור Python.
DeltaInspector מאפשר ניתוח מפורט של משתנים-מקור דלטה, ויוצר אובייקטים GlyphDeltaReport ו TextDeltaReport שמדגישים שינויים בקואורדינטות בין מקרים.
שיעור זה מספק 8 שיטות לעבוד עם אובייקטים DeltaInspector בתוכניות Python. שיטות זמינות כוללות: 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. כל החברים הציבוריים זמינים לכל יישום Python לאחר התקנת Aspose.Font 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 |