StatNamingDiagnostics

StatNamingDiagnostics

概述

StatNamingDiagnostics 是 Aspose.Font FOSS 中用于 Python 的类。

StatNamingDiagnostics 报告源字体是否包含 STAT 表,并推荐适用于导出的相应 stat_policy 设置。

此类提供 1 个方法,用于在 Python 程序中处理 StatNamingDiagnostics 对象。可用的方法包括:to_dict。在安装了面向 Python 的 Aspose.Font FOSS 包后,所有公共成员对任何 Python 应用程序均可访问。属性包括:covered_source_stat_name_ids、generated_stat_axis_tags、generated_stat_axis_value_flag_meanings、generated_stat_axis_value_flag_summary、generated_stat_axis_value_flags、generated_stat_name_ids,以及另外 19 项。

属性

名称类型访问描述
stat_policystr读取获取统计策略。
source_has_statbool读取获取源具有的统计信息。
static_export_actionstr读取获取静态导出操作。
stat_policy_recommendationstr读取获取统计策略建议。
stat_policy_recommendation_reasonstuple[str, ...]读取获取统计策略推荐原因。
stat_policy_override_suggestion`strNone`读取
stat_policy_override_suggestion_reasonstuple[str, ...]读取获取统计策略覆盖建议原因。
typographic_family_ids_emittedtuple[int, ...]读取获取已发出的排版族标识符。
typographic_style_ids_emittedtuple[int, ...]读取获取已发出的排版样式标识符。
legacy_typographic_family_divergesbool读取获取旧版排版族的分歧。
legacy_typographic_style_divergesbool读取获取传统排版样式的偏差。
source_stat_name_idstuple[int, ...]读取获取源统计名称 ID。
covered_source_stat_name_idstuple[int, ...]读取获取已覆盖的源统计名称 ID。
uncovered_source_stat_name_idstuple[int, ...]读取获取未覆盖的源统计名称 ids。
source_stat_name_labels`tuple[tuple[int, strNone, bool], …]`读取
source_stat_axis_value_flagstuple[int, ...]读取获取源统计轴值标志。
source_stat_axis_value_flag_meaningstuple[tuple[int, tuple[str, ...]], ...]读取获取源统计轴值标志的含义。
source_stat_axis_value_flag_summarydict[str, int]读取获取源统计轴值标志摘要。
generated_stat_name_idstuple[int, ...]读取获取生成的统计名称 ID。
generated_stat_axis_tagstuple[str, ...]读取获取生成的统计轴标签。
generated_stat_axis_value_flagsint读取获取生成的统计轴值标志。
generated_stat_axis_value_flag_meaningstuple[str, ...]读取获取生成的统计轴值标志的含义。
generated_stat_axis_value_flag_summarydict[str, int]读取获取生成的统计轴值标志摘要。
notestuple[str, ...]读取获取备注。
warningstuple[str, ...]读取获取警告。

方法

签名描述
to_dict() → dict[str, object]在此 StatNamingDiagnostics 实例上调用 to_dict。

另请参阅

 中文