PlatformNamingDiagnostics
PlatformNamingDiagnostics
概述
PlatformNamingDiagnostics 是Python的Aspose.Font FOSS中的一个类.
PlatformNamingDiagnostics提供布尔标志和长度检查 (例如,后文本名字安全,後文书名码长) 帮助确保生成的名字满足平台限制.
这个类提供了一个方法,用于在Python程序中使用PlatformNamingDiagnostics 对象. 有的方法包括: to_dict. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: macos_typographic_names_diverge, macos_typographic_names_present, notes, postscript_name_length, postscript_name_safe, postscript_name_sanitized,另外还有3个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
windows_legacy_menu_safe | bool | 阅读 | 获取 Windows 传统菜单的安全性。. |
windows_legacy_style_ribbi | bool | 阅读 | 获取 Windows 传统样式 ribbi。. |
macos_typographic_names_present | bool | 阅读 | 获取存在的 macOS 排版名称。. |
macos_typographic_names_diverge | bool | 阅读 | 获取 macos 排版名称的差异。. |
postscript_name_safe | bool | 阅读 | 获取安全的 PostScript 名称。. |
postscript_name_length | int | 阅读 | 获取 postscript 名称的长度。. |
postscript_name_sanitized | bool | 阅读 | 获取已清理的 PostScript 名称。. |
notes | tuple[str, ...] | 阅读 | 获取注释。. |
warnings | tuple[str, ...] | 阅读 | 获取警告。. |
方法
| Signature | 描述情况 |
|---|---|
to_dict() → dict[str, object] | 返回诊断数据的词典表示 |