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_policy | str | 读取 | 获取统计策略。 |
source_has_stat | bool | 读取 | 获取源具有的统计信息。 |
static_export_action | str | 读取 | 获取静态导出操作。 |
stat_policy_recommendation | str | 读取 | 获取统计策略建议。 |
stat_policy_recommendation_reasons | tuple[str, ...] | 读取 | 获取统计策略推荐原因。 |
stat_policy_override_suggestion | `str | None` | 读取 |
stat_policy_override_suggestion_reasons | tuple[str, ...] | 读取 | 获取统计策略覆盖建议原因。 |
typographic_family_ids_emitted | tuple[int, ...] | 读取 | 获取已发出的排版族标识符。 |
typographic_style_ids_emitted | tuple[int, ...] | 读取 | 获取已发出的排版样式标识符。 |
legacy_typographic_family_diverges | bool | 读取 | 获取旧版排版族的分歧。 |
legacy_typographic_style_diverges | bool | 读取 | 获取传统排版样式的偏差。 |
source_stat_name_ids | tuple[int, ...] | 读取 | 获取源统计名称 ID。 |
covered_source_stat_name_ids | tuple[int, ...] | 读取 | 获取已覆盖的源统计名称 ID。 |
uncovered_source_stat_name_ids | tuple[int, ...] | 读取 | 获取未覆盖的源统计名称 ids。 |
source_stat_name_labels | `tuple[tuple[int, str | None, bool], …]` | 读取 |
source_stat_axis_value_flags | tuple[int, ...] | 读取 | 获取源统计轴值标志。 |
source_stat_axis_value_flag_meanings | tuple[tuple[int, tuple[str, ...]], ...] | 读取 | 获取源统计轴值标志的含义。 |
source_stat_axis_value_flag_summary | dict[str, int] | 读取 | 获取源统计轴值标志摘要。 |
generated_stat_name_ids | tuple[int, ...] | 读取 | 获取生成的统计名称 ID。 |
generated_stat_axis_tags | tuple[str, ...] | 读取 | 获取生成的统计轴标签。 |
generated_stat_axis_value_flags | int | 读取 | 获取生成的统计轴值标志。 |
generated_stat_axis_value_flag_meanings | tuple[str, ...] | 读取 | 获取生成的统计轴值标志的含义。 |
generated_stat_axis_value_flag_summary | dict[str, int] | 读取 | 获取生成的统计轴值标志摘要。 |
notes | tuple[str, ...] | 读取 | 获取备注。 |
warnings | tuple[str, ...] | 读取 | 获取警告。 |
方法
| 签名 | 描述 |
|---|---|
to_dict() → dict[str, object] | 在此 StatNamingDiagnostics 实例上调用 to_dict。 |