fonttoolspython

A Python library (fonttools) for manipulating font files, including TrueType, OpenType, WOFF, and WOFF2. Includes the TTX tool for converting between fonts and XML, a font-subsetting utility to reduce file size, and APIs for programmatically inspecting, modifying, and generating font files.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "fonttoolspython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8dd28e8813a72aba6dd86887bf106a3caa4eaac4a1654e786aed00d5a153afc0. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/fonttools-python-font-manipulation-subsetting before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A Python library (fonttools) for manipulating font files, including TrueType, OpenType, WOFF, and WOFF2. Includes the TTX tool for converting between fonts and XML, a font-subsetting utility to reduce file size, and APIs for programmatically inspecting, modifying, and generating font files.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "fonttools Python 字体操作和子集化库"
slug: "fonttools-python-font-manipulation-subsetting"
version: "1.0.0"
displayName: "fonttools Python 字体操作和子集化库"
summary: "fonttools 是一个综合性的 Python 库,用于操作字体文件,包括 TrueType、OpenType、WOFF 和 WOFF2 格式。它包含 TTX 工具,用于在字体和 XML 之间进行转换,一个用于减小字体文件大小的字体子集工具,以及用于编程检查、修改和生成字体文件的 API。"
license: "MIT"
description: "fonttools 是一个综合性的 Python 库,用于操作字体文件,包括 TrueType、OpenType、WOFF 和 WOFF2 格式。它包含 TTX 工具,用于在字体和 XML 之间进行转换,一个用于减小字体文件大小的字体子集实用程序,以及用于编程检查、修改和生成字体文件的 API。"
github_stars: 5067
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 5067

fonttools Python 字体操作和子集化库

fonttools is a comprehensive Python library for manipulating font files, including TrueType, OpenType, WOFF, and WOFF2 formats. It includes the TTX tool for converting fonts to and from XML, a font subsetting utility for reducing font file sizes, and APIs for inspecting, modifying, and generating font files programmatically.

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

  • | fontTools is a library for manipulating fonts, written in Python. The
  • FontTools requires Python http://www.python.org/download/__ 3.10
  • or later. We try to follow the same schedule of minimum Python version support as

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • fonttools 是一个成熟的 Python 字体操作库,适用于字体处理、子集化、格式转换等实际开发场景
  • 具有明确的开发者工具属性,属于明确场景的通用工具
Trigger Precision85/100

Highlights

  • description 内容完整描述了 fonttools 的核心功能(字体操作、TTX 转换、子集化、API)
  • 触发词清晰,覆盖合理
Structure and Standards70/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档缺少明确的 Phase/步骤划分和端到端示例

    Recommendation: 建议补充一个完整的端到端示例,展示从安装到实际使用的完整流程

Highlights

  • 文档包含安装说明、基本用法、依赖说明,frontmatter 完整,结构清晰
Execution Reliability85/100

Highlights

  • 提供了多种安装路径(pip、git clone、可编辑安装、可选依赖)
  • 工具来源明确,参数正确,覆盖主要异常
Evidence Verifiability (mean of the first four)79/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 27, 29, 30
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • numpy.org
  • raw.githubusercontent.com
  • www.python.org

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.