DeltaInspector
Genel Bakış
DeltaInspector Python için FOSS’de bir sınıf.
DeltaInspector ayrıntılı değişken- yazı tipi delta analizini sağlar, örnekler arası koordinat değişikliklerini vurgulayan GlyphDeltaReport ve TextDeltaReport nesnelerini üretir.
Bu sınıf, Python programlarında DeltaInspector nesnelerle çalışmak için 8 yöntem sağlar. Kullanılabilir yöntemler şunlardır: 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 için FOSS paketini yükledikten sonra tüm kamu üyeleri herhangi bir Python uygulamasına erişilebilir.
Yöntemler
| Signature | Açıklama: |
|---|---|
| `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 |