# KonghaYao/cn-font-split

划时代的字体切割工具，CJK与任何字符！支持 otf、ttf、woff2 字体多线程切割，完美地细颗粒度地进行包大小控制。A revolutionary font subetter that supports CJK and any characters! It enables multi-threaded subset of otf, ttf, and woff2 fonts, allowing for precise control over package size.

Repository: https://github.com/KonghaYao/cn-font-split
Canonical: https://ross.abutalabs.com/products/cn-font-split
Homepage: https://chinese-font.netlify.app/
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: converter, font, font-subset, font-subsetter, opentype-fonts, otf, performance, ttf, wasm, woff2, browser, deno, multithreading, nodejs, webworker, bun, cjk, cjk-font
Last push: 2026-06-12T13:45:21+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 56, longevity 100
- inputs: {"age_days": 1468, "days_push": 82, "days_rel": 295, "gap_med": 2, "n_releases_24m": 32}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1235, forks 48 (observed 2026-08-28T04:04:04.889975+00:00)

## What it is
A Rust-based font subsetting tool that splits large CJK and other character fonts (otf, ttf, woff2) into small, web-ready packages with fine-grained size control. It runs natively or via WebAssembly across Node.js, Deno, Bun, browsers, and major OSes, and ships a Vite/Webpack compiler plugin.

## Use cases
- split large Chinese fonts for web loading
- subset CJK fonts into small woff2 chunks
- reduce font file size for a website
- serve Chinese webfonts via CDN
- optimize otf ttf woff2 fonts for the browser
- make custom fonts load fast on Chinese websites

## When to choose
- you need to ship large CJK or full-Unicode fonts on the web with fast load times
- you want consistent cross-platform subsetting results and second-level builds
- you use Vite, Nuxt, Next, Webpack, or Rspack and want automated font splitting

## When to avoid
- you only need Latin fonts already served by Google Fonts or Fontsource
- you need font editing or design features rather than subsetting
- your project has no web font delivery needs

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, cli, wasm, image-processing
- domain: web-development, frontend, developer-tools
- platform: bun, browser, wasm, cross-platform, cli, rust
- tags: font-subsetting, cjk-fonts, woff2, webfonts, harfbuzz, vite-plugin, font-splitting, localization, nodejs, deno

## Member repositories
- KonghaYao/cn-font-split (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:04.889975+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:02.449120+00:00, confidence not recorded.
  - readme: https://github.com/KonghaYao/cn-font-split (fetched 2026-08-28T04:04:04.889975+00:00, sha 4463501866c0)
  - homepage: https://chinese-font.netlify.app/ (fetched 2026-08-29T12:21:19.872447+00:00, sha f166cfa72c12)
  - registry_crates: https://crates.io/api/v1/crates/cn-font-split (fetched 2026-08-29T12:21:19.881589+00:00, sha 9066f0ee0b3a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
