DeltaInspector

DeltaInspector

Overview

DeltaInspector 是Python的Aspose.Font FOSS中的一个类.

允许详细的变量字体delta分析,生成突出各个实例中的坐标变化的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. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序.

Methods

SignatureDescription
`inspect_variable_glyph(font, glyph_id: intNone, codepoint: int
`build_delta_sheet(font, glyph_id: intNone, codepoint: int
`compare_variable_glyph(font, glyph_id: intNone, 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: intNone, codepoint: int

See Also

 中文