fontTools公开文档;未核安装、未执行,限所列输入输出。
调用方式 / profile:fonttools-subset-documentation · 组件版本:documentation-sha256:2c2c2c8cd248eca1032564610e8d732417390b9a70d88423c20290ecfc7d0556 · 引用此版本与调用方式
已记录条件
- invocation_mode = cli:支持。Supported within this profile and component version. 依据:fonttools-subset-documentation-e1, fonttools-subset-documentation-e2
入口与前提
- 协议
- 本地CLI(文档声明,未执行)
- 认证
- 所列本地命令不含服务登录;软件获取、附加组件及执行环境权限另核。
- 价格是否查明
- unknown
- 配额是否查明
- unknown
fonttools subset
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 至少指定一项字形或字符选择条件;text-file的换行不加入子集。
- WOFF2需要Brotli Python扩展;本机安装、依赖和目标平台未核。
- 字体本身许可、保留字体名及排版效果另核,不保证再分发权。
- 当前版本、费用、性能与完整运行网络行为unknown。
配方 fonttools-subset-documentation-recipe · 修订 1
所需调用能力:
- subset_opentype_font
运行前提:
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 至少指定一项字形或字符选择条件;text-file的换行不加入子集。
- WOFF2需要Brotli Python扩展;本机安装、依赖和目标平台未核。
- 字体本身许可、保留字体名及排版效果另核,不保证再分发权。
- 当前版本、费用、性能与完整运行网络行为unknown。
使用步骤:
- 准备已获授权的最小输入,核对本profile的适用范围、认证与费用;不填私人信息或凭据到公开示例。
- fonttools subset font.ttf --text-file=approved-glyphs.txt --output-file=subset.woff2 --flavor=woff2
- 未来获准执行后核对实际诊断、输出文件或对象与输入条件,保留缺项和运行错误;本次没有执行此步骤。
- 输入约定
- TT/CFF OpenType的OTF或TTF字体,或WOFF字体;必须指定至少一项glyph或gids/glyphs/text/unicodes选择条件。text-file是字符选择文件。
- 输出约定
- 所选字形和OpenType布局功能组成的子集字体;可指定输出路径和woff/woff2/none flavor,本站未生成文件。
- 成功检查
- 未来获准后核全新输出可解析、字形和布局需求、字体许可及Brotli条件。当前为文档选项组合,不是执行记录。
- 失败与回退
- 条件不满足、认证/限流/结构错误即停止该调用并保留unknown;不切换付费服务、不猜工具名、不执行写操作。
适用证据
fonttools-subset-documentation-e1 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/cli-sdk-batch-20261024-05/sources/fonttools-subset-documentation.txt:L98-L108
- 来源版本
- documentation-sha256:2c2c2c8cd248eca1032564610e8d732417390b9a70d88423c20290ecfc7d0556
- 内容摘要
- 2c2c2c8cd248eca1032564610e8d732417390b9a70d88423c20290ecfc7d0556
- 采集时间
- 2026-10-20T12:08:04.4316630+00:00
fonttools subset – OpenType font subsetter and optimizer fonttools subset is an OpenType font subsetter and optimizer, based on fontTools. It accepts any TT- or CFF-flavored OpenType (.otf or .ttf) or WOFF (.woff) font file. The subsetted glyph set is based on the specified glyphs or characters, and specified OpenType layout features. The tool also performs some size-reducing optimizations, aimed for using subset fonts as webfonts. Individual optimizations can be enabled or disabled, and are enabled by default when they are safe. Usage: fonttools subset font-file [glyph…] [–option=value]… At least one glyph or one of –gids, –gids-file, –glyphs, –glyphs-file, –text, –text-file, –unicodes, or –unicodes-file, must be specified.
覆盖条件:invocation_mode=cli
fonttools-subset-documentation-e2 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/cli-sdk-batch-20261024-05/sources/fonttools-subset-documentation.txt:L176-L185
- 来源版本
- documentation-sha256:2c2c2c8cd248eca1032564610e8d732417390b9a70d88423c20290ecfc7d0556
- 内容摘要
- 2c2c2c8cd248eca1032564610e8d732417390b9a70d88423c20290ecfc7d0556
- 采集时间
- 2026-10-20T12:08:04.4316630+00:00
Output options --output-file=<path> The output font file. If not specified, the subsetted font will be saved in as font-file.subset. --flavor=<type> Specify flavor of output font file. May be ‘woff’ or ‘woff2’, or ‘none’ (case-insensitive) for uncompressed OpenType. By default, the flavor of the input font is preserved. Note that WOFF2 requires the Brotli Python extension, available at https://github.com/google/brotli
覆盖条件:invocation_mode=cli
结构化配方尚未提供或不适用于本版本;旧用法文字保留,连接与执行结果未知。