{"_id":"@embedpdf/fonts-tc","name":"@embedpdf/fonts-tc","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@embedpdf/fonts-tc","version":"1.0.0","private":false,"description":"Traditional Chinese (Big5) fallback fonts for EmbedPDF - Noto Sans Hant (7 weights)","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"keywords":["fonts","noto","chinese","traditional","pdf","embedpdf","cjk"],"repository":{"type":"git","url":"git+https://github.com/embedpdf/embed-pdf-viewer.git","directory":"packages/fonts/tc"},"homepage":"https://www.embedpdf.com/docs","bugs":{"url":"https://github.com/embedpdf/embed-pdf-viewer/issues"},"author":{"name":"Bob Singor"},"license":"OFL-1.1","devDependencies":{"typescript":"^5.0.0","@embedpdf/build":"1.1.0","@embedpdf/models":"2.1.0"},"publishConfig":{"access":"public"},"scripts":{"build":"vite build","clean":"rimraf dist"},"_id":"@embedpdf/fonts-tc@1.0.0","_integrity":"sha512-rGZJbVD6DYS5BbXdpEMnWkpVF0Knar+bsiyb2o3+YRx7O8eyFubEBQUSUInirQk69HA6fc3GhYCg7TyC/oD76Q==","_resolved":"/tmp/7aa905d3323abf5b327d6c08784a3946/embedpdf-fonts-tc-1.0.0.tgz","_from":"file:embedpdf-fonts-tc-1.0.0.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rGZJbVD6DYS5BbXdpEMnWkpVF0Knar+bsiyb2o3+YRx7O8eyFubEBQUSUInirQk69HA6fc3GhYCg7TyC/oD76Q==","shasum":"21262bb512ede384c3fb84b952a6812b98e793f4","tarball":"https://registry.npmjs.org/@embedpdf/fonts-tc/-/fonts-tc-1.0.0.tgz","fileCount":15,"unpackedSize":39675051,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChc6PGbCwp8nZa+Hzg/2aaxF4Hvj1PxHXHFxm7tjGGsgIhAMo+1S4uOVY0A3dexQYtTowHm1m0J+ppnghr0L1m5YtY"}]},"_npmUser":{"name":"bobsingor","email":"bob.singor@openbook.io"},"directories":{},"maintainers":[{"name":"bobsingor","email":"bob.singor@openbook.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fonts-tc_1.0.0_1766935994858_0.06719062333613879"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-28T15:33:14.806Z","1.0.0":"2025-12-28T15:33:15.851Z","modified":"2025-12-28T15:33:16.118Z"},"maintainers":[{"name":"bobsingor","email":"bob.singor@openbook.io"}],"description":"Traditional Chinese (Big5) fallback fonts for EmbedPDF - Noto Sans Hant (7 weights)","homepage":"https://www.embedpdf.com/docs","keywords":["fonts","noto","chinese","traditional","pdf","embedpdf","cjk"],"repository":{"type":"git","url":"git+https://github.com/embedpdf/embed-pdf-viewer.git","directory":"packages/fonts/tc"},"author":{"name":"Bob Singor"},"bugs":{"url":"https://github.com/embedpdf/embed-pdf-viewer/issues"},"license":"OFL-1.1","readme":"# @embedpdf/fonts-tc\n\nTraditional Chinese (Big5) fallback fonts for EmbedPDF.\n\n## Included Fonts\n\nAll 7 weights of Noto Sans Hant (Traditional Chinese):\n\n- `NotoSansHant-Thin.otf` - Thin weight (100)\n- `NotoSansHant-Light.otf` - Light weight (300)\n- `NotoSansHant-DemiLight.otf` - DemiLight weight (350)\n- `NotoSansHant-Regular.otf` - Regular weight (400)\n- `NotoSansHant-Medium.otf` - Medium weight (500)\n- `NotoSansHant-Bold.otf` - Bold weight (700)\n- `NotoSansHant-Black.otf` - Black weight (900)\n\n## Usage\n\n```typescript\nimport { FontCharset } from '@embedpdf/models';\n\nconst fontFallback = {\n  fonts: {\n    [FontCharset.CHINESEBIG5]: [\n      { url: 'NotoSansHant-Thin.otf', weight: 100 },\n      { url: 'NotoSansHant-Light.otf', weight: 300 },\n      { url: 'NotoSansHant-DemiLight.otf', weight: 350 },\n      { url: 'NotoSansHant-Regular.otf', weight: 400 },\n      { url: 'NotoSansHant-Medium.otf', weight: 500 },\n      { url: 'NotoSansHant-Bold.otf', weight: 700 },\n      { url: 'NotoSansHant-Black.otf', weight: 900 },\n    ],\n  },\n  baseUrl: 'https://cdn.jsdelivr.net/npm/@embedpdf/fonts-tc@1/fonts',\n};\n```\n\nOr use the pre-configured CDN config:\n\n```typescript\nimport { cdnFontConfig } from '@embedpdf/engines/pdfium';\n\nconst native = new PdfiumNative(pdfiumModule, {\n  fontFallback: cdnFontConfig,\n});\n```\n\n## License\n\nThese fonts are licensed under the [SIL Open Font License 1.1](https://scripts.sil.org/OFL).\n\nNoto Sans Hant is a trademark of Google LLC.\n","readmeFilename":"README.md","_rev":"1-e579ff434ba6eab718ff483c235b1b10"}