@leonsilicon/fontpkg-irg-n2878
v1.0.0
Published
Font package for CJKComp-Regular.ttf attached to IRG N2878, Updated proposal to encode CJK Unified Ideographs Components
Maintainers
Readme
IRG N2878: CJKComp-Regular.ttf
Local font package for CJKComp-Regular.ttf, attached to IRG N2878,
Updated proposal to encode CJK Unified Ideographs Components.
Licensing note: This is a private, local-only package. The source PDF and font metadata do not supply a public redistribution license for the attached font. See
NOTICE.mdbefore sharing or publishing it.
Package contents
| File | Purpose |
|------|---------|
| irg-n2878-cjkcomp-Regular.ttf | Package-named derivative of the attached CJKComp-Regular.ttf |
| component.att | Radical-stroke metadata for the proposed chart entries |
| component.blk | Source-reference and source-PUA mappings |
| gca.txt | Jianzi component metadata |
| gf0011.txt | GF 0011 source mappings |
| gf0014.txt | GF 0014 source mappings |
| gf3001.txt | GF 3001 source mappings |
| hk.txt | Hong Kong source mappings |
| ort.txt | CORT source mappings |
| srcref.txt | Source-reference descriptions |
| uk.txt | UK/BabelStone Han PUA mappings |
| utc.txt | UTC source mappings |
| index.css | @font-face definition |
The font has internal family IRG N2878 CJKComp and PostScript name
IRG-N2878-CJKComp-Regular. Its source cmap is preserved: it contains 4,096
font-specific Private Use Area mappings from U+E000 through U+EFFF.
The bottom component of 介 and 夰
In N2878's provisional code chart, the component is entry U+2FA64. The
attached working font stores its three source glyphs at these PUA positions:
| Source | Font PUA | HTML |
|--------|----------|------|
| GCP-00038 | U+E027 |  |
| TCP-00043 | U+E17A |  |
| HCP-00051 | U+E489 |  |
These PUA values are font-specific and must be rendered with this font. They
are not interoperable Unicode assignments. In the later N2878R3 proposal, the
same component moved to proposed position U+2FAE8; use
fontpkg-irg-n2878r3 when the final proposal mapping is preferable.
Install and use
Install this directory as a local dependency:
bun add ../fontpkg-irg-n2878Import the stylesheet:
import "@leonsilicon/fontpkg-irg-n2878/index.css";Then render a source glyph, for example:
<span style="font-family: 'IRG N2878 CJKComp'"></span>This is a component/source font, not a complete CJK text font. Place a normal CJK font later in the fallback list for surrounding text.
Regenerating
The original PDF is committed as
data/n2878-CJKComponents.pdf. Generation
is implemented in TypeScript and requires Node.js 22.13 or newer:
bun install
bun run generate_generate.ts reads all twelve embedded PDF attachments, validates their
checksums and names, rewrites only the font's OpenType name table, validates
that every other table and the complete cmap are unchanged, and copies all
metadata attachments verbatim.
Run the typecheck and generator together with:
bun run checkThe source PDF, generator, TypeScript configuration, and development
dependencies are repository inputs; the package's files allowlist keeps
them out of a packed artifact.
Checksums
5aa057b2b1464d15a8c3c57bc6e888da6bd8bc8e2c2dc6a28c39de3dba49e5b6 irg-n2878-cjkcomp-Regular.ttf
8ce9fa2b7ebdfcdeb813f906e658eea167d985b51d3693ec9fdf026d6d17b079 component.att
5c23605b8e0b51eb9f555729e0c04d400bdc80eb9d93af16aaf44eb4ba8f95ae component.blk
6f3e48db31f67ac4bca1a5e3947e5356bfdd46f648228848ee449d541a9e2b55 gca.txt
b8d2b6b8f24741eb2793cb1879b3994c2f44328db4bea4e68fafe96227dbb481 gf0011.txt
328012cff1a109538981e90bb5e5d8b2bbe8888cf218b39b90e1874e9387e4ca gf0014.txt
4c241edc79241cfa1ea9f04c7d8994385c520db44de19cf734bdad8ad15f5eee gf3001.txt
599710f6f7f4a6a3a9fd38226956f1467a293c37bbedcc0aabe1b2388f506f77 hk.txt
8116c6094cc5ffac45f57935e302818d7528c7d5d799f7405318dafadd649577 ort.txt
e4988ced258c97a962e4771ce212c2e08e59936b88ea75c983681e32863bee6b srcref.txt
1bb43dea31acc1558e2c32c67b6af2f300102a8d179c2cdc4fb2d2d0d3d5a8ed uk.txt
312cf1a84d67bd5963176d5420d6c7a7793b7e874a4d69d6071df53ffce48ac6 utc.txt
404e4dff0ed61bc1a455408898e6c9247a51bdefbe4385e6ba1eacce677be9c7 index.cssPublication status
The package is intentionally marked "private": true and
"license": "UNLICENSED". It must not be published until standalone font
redistribution permission is documented.
Source
The source assets are the attachments to IRG N2878, Updated proposal to encode CJK Unified Ideographs Components, dated 2025-10-09.
