{"_id":"@ascii-canvas/fonts","_rev":"2-7790c83d532b84e251eb34ef57c5ad1d","name":"@ascii-canvas/fonts","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ascii-canvas/fonts","version":"0.1.0","keywords":["ascii","canvas","fonts","unicode"],"license":"MIT","_id":"@ascii-canvas/fonts@0.1.0","maintainers":[{"name":"h3nryh3","email":"hxk17573904437@gmail.com"}],"homepage":"https://github.com/Sayhi-bzb/AsciiCanvas/tree/main/packages/fonts#readme","bugs":{"url":"https://github.com/Sayhi-bzb/AsciiCanvas/issues"},"dist":{"shasum":"371ffa45c31d60deb81c88741a8d73a262f4f8e1","tarball":"https://registry.npmjs.org/@ascii-canvas/fonts/-/fonts-0.1.0.tgz","fileCount":219,"integrity":"sha512-IvwNbNPqD3xJZjMTd3axGp9Zh5R2GfBbVgw3BkyIqK1yB9G3/X50o2KKbtwgwv+xqId/KdLvUMsRhRQq/3ezkg==","signatures":[{"sig":"MEQCICxobFa2XJ3DKDf8grrHwWM4aMWP968bdCXGHR4P9twQAiANNYxVlG6ZchvM1rIhLTxnEQj5kAjslsdIID9zybWoSQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ascii-canvas%2ffonts@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11898176},"type":"module","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fonts.css":"./fonts.css","./manifest.json":"./manifest.json"},"gitHead":"3f0563a2ae4f0f0e1527a56633f1eac7bdccc2d1","scripts":{"test":"vitest run --config vitest.config.ts","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"h3nryh3","email":"hxk17573904437@gmail.com"},"repository":{"url":"git+https://github.com/Sayhi-bzb/AsciiCanvas.git","type":"git","directory":"packages/fonts"},"_npmVersion":"11.19.0","description":"Self-hosted fonts and the default AsciiCanvas renderer font profile","directories":{},"sideEffects":["./fonts.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonts_0.1.0_1785828645928_0.7039853225328561","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package moved to @chardesk/fonts. Install @chardesk/fonts@^0.2.0."}},"time":{"created":"2026-08-04T07:30:45.782Z","modified":"2026-08-12T04:53:26.639Z","0.1.0":"2026-08-04T07:30:46.228Z"},"bugs":{"url":"https://github.com/Sayhi-bzb/AsciiCanvas/issues"},"license":"MIT","homepage":"https://github.com/Sayhi-bzb/AsciiCanvas/tree/main/packages/fonts#readme","keywords":["ascii","canvas","fonts","unicode"],"repository":{"url":"git+https://github.com/Sayhi-bzb/AsciiCanvas.git","type":"git","directory":"packages/fonts"},"description":"Self-hosted fonts and the default AsciiCanvas renderer font profile","maintainers":[{"name":"h3nryh3","email":"hxk17573904437@gmail.com"}],"readme":"# @ascii-canvas/fonts\n\nSelf-hosted assets and the default renderer font profile for AsciiCanvas output. This package is optional: [`@ascii-canvas/protocol`](https://www.npmjs.com/package/@ascii-canvas/protocol) remains rendering-neutral.\n\n## Install\n\n```sh\nnpm install @ascii-canvas/fonts\n```\n\nLoad the faces once, then use the exported stacks when rendering protocol cells:\n\n```ts\nimport \"@ascii-canvas/fonts/fonts.css\";\nimport { ASCII_CANVAS_FONT_PROFILE } from \"@ascii-canvas/fonts\";\n\nawait document.fonts.ready;\ncontext.font = `16px ${ASCII_CANVAS_FONT_PROFILE.families.text}`;\n```\n\n`ascii-canvas/default-v1` routes ordinary text through Maple Mono NF CN and Noto Sans Symbols 2, and emoji presentation through monochrome Noto Emoji first. The source versions are exported in `ASCII_CANVAS_FONT_PROFILE` and recorded with checksums in `manifest.json`.\n\nFont files are distributed under the SIL Open Font License found beside each family in `assets/*/OFL.txt`. Package code is MIT licensed.\n","readmeFilename":"README.md"}