mirror of
https://github.com/hanzoai/font.git
synced 2026-11-02 23:42:52 +00:00
Zen draws no Arabic, so an Arabic page fell to whatever face the browser picked. Two variable companions over Zen's own weight axis, cut to the Arabic blocks, now ship in fonts/arabic. Each is declared under its own family with an Arabic unicode-range, and the default under Zen and Zen Mono too, so font-family: Zen sets Arabic and a page with no Arabic on it requests nothing new. They are not ours and keep their names, notices and vendor; identity.py checks them for exactly that, from the table arabic.py builds them from, pinned by commit and checksum. next.mjs refuses a default whose weight range is not Zen's: faces composite only when their descriptors match, and a companion that wins the weight match sends Latin to the system sans.
87 lines
2.1 KiB
JSON
87 lines
2.1 KiB
JSON
{
|
|
"name": "@hanzo/font",
|
|
"version": "1.9.4",
|
|
"description": "Zen — the Hanzo type family: sans, mono and pixel, with brand presets and a wasm cutter.",
|
|
"main": "./dist/font.js",
|
|
"type": "module",
|
|
"module": "./dist/font.js",
|
|
"types": "./font.d.ts",
|
|
"scripts": {
|
|
"prepare": "cp ../../LICENSE.txt .",
|
|
"version": "changeset version",
|
|
"release": "changeset publish"
|
|
},
|
|
"homepage": "https://hanzo.ai",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.hanzo.ai/hanzoai/font.git",
|
|
"directory": "packages/zen"
|
|
},
|
|
"keywords": [
|
|
"font",
|
|
"hanzo",
|
|
"instancer",
|
|
"typeface",
|
|
"variable font",
|
|
"wasm",
|
|
"zen",
|
|
"zen mono",
|
|
"zen pixel"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/font.d.ts",
|
|
"default": "./dist/font.js"
|
|
},
|
|
"./mono": {
|
|
"types": "./dist/mono.d.ts",
|
|
"default": "./dist/mono.js"
|
|
},
|
|
"./mono-non-variable": {
|
|
"types": "./dist/mono-non-variable.d.ts",
|
|
"default": "./dist/mono-non-variable.js"
|
|
},
|
|
"./sans": {
|
|
"types": "./dist/sans.d.ts",
|
|
"default": "./dist/sans.js"
|
|
},
|
|
"./sans-non-variable": {
|
|
"types": "./dist/sans-non-variable.d.ts",
|
|
"default": "./dist/sans-non-variable.js"
|
|
},
|
|
"./pixel": {
|
|
"types": "./dist/pixel.d.ts",
|
|
"default": "./dist/pixel.js"
|
|
},
|
|
"./css": "./dist/zen.css",
|
|
"./presets": {
|
|
"types": "./dist/presets.d.ts",
|
|
"default": "./dist/presets.js"
|
|
},
|
|
"./presets.css": "./dist/presets.css",
|
|
"./wasm": "./dist/wasm/zen.js",
|
|
"./wasm/zen_bg.wasm": "./dist/wasm/zen_bg.wasm",
|
|
"./dist/fonts/*": "./dist/fonts/*"
|
|
},
|
|
"license": "SIL OPEN FONT LICENSE",
|
|
"peerDependencies": {
|
|
"next": ">=13.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.29.8"
|
|
},
|
|
"packageManager": "[email protected]+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"font.d.ts",
|
|
"LICENSE.txt",
|
|
"README.md"
|
|
]
|
|
}
|