{"_id":"@embedpdf/fonts-jp","name":"@embedpdf/fonts-jp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@embedpdf/fonts-jp","version":"1.0.0","private":false,"description":"Japanese (Shift-JIS) fallback fonts for EmbedPDF - Noto Sans JP (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","japanese","pdf","embedpdf","cjk"],"repository":{"type":"git","url":"git+https://github.com/embedpdf/embed-pdf-viewer.git","directory":"packages/fonts/jp"},"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-jp@1.0.0","_integrity":"sha512-BY2tv/mcICUUKf+M/bizf3RU65PMqKClJ/e5o9mgMibxyML0OQvEDwYMRPODQkKgJKXCO3ScHmVvcmXp6kt+fA==","_resolved":"/tmp/3e6f0e842aa7ea6adac70cdc582bc5e3/embedpdf-fonts-jp-1.0.0.tgz","_from":"file:embedpdf-fonts-jp-1.0.0.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BY2tv/mcICUUKf+M/bizf3RU65PMqKClJ/e5o9mgMibxyML0OQvEDwYMRPODQkKgJKXCO3ScHmVvcmXp6kt+fA==","shasum":"03c643bde1e0e556bfa1cf4bbb7eafbe555aa9ac","tarball":"https://registry.npmjs.org/@embedpdf/fonts-jp/-/fonts-jp-1.0.0.tgz","fileCount":15,"unpackedSize":31803626,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDI7GItLmPupeFzvWFpXCvVrGK+AeWuDe2wfxgEv+2ENQIhAIG+6Dkxbc6TkGJF3bJMms4mzlv7INfG1Xjz3dIGNYlo"}]},"_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-jp_1.0.0_1766935969181_0.08918737207277272"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-28T15:32:49.079Z","1.0.0":"2025-12-28T15:32:50.002Z","modified":"2025-12-28T15:32:50.308Z"},"maintainers":[{"name":"bobsingor","email":"bob.singor@openbook.io"}],"description":"Japanese (Shift-JIS) fallback fonts for EmbedPDF - Noto Sans JP (7 weights)","homepage":"https://www.embedpdf.com/docs","keywords":["fonts","noto","japanese","pdf","embedpdf","cjk"],"repository":{"type":"git","url":"git+https://github.com/embedpdf/embed-pdf-viewer.git","directory":"packages/fonts/jp"},"author":{"name":"Bob Singor"},"bugs":{"url":"https://github.com/embedpdf/embed-pdf-viewer/issues"},"license":"OFL-1.1","readme":"# @embedpdf/fonts-jp\n\nJapanese (Shift-JIS) fallback fonts for EmbedPDF.\n\n## Included Fonts\n\nAll 7 weights of Noto Sans JP:\n\n- `NotoSansJP-Thin.otf` - Thin weight (100)\n- `NotoSansJP-Light.otf` - Light weight (300)\n- `NotoSansJP-DemiLight.otf` - DemiLight weight (350)\n- `NotoSansJP-Regular.otf` - Regular weight (400)\n- `NotoSansJP-Medium.otf` - Medium weight (500)\n- `NotoSansJP-Bold.otf` - Bold weight (700)\n- `NotoSansJP-Black.otf` - Black weight (900)\n\n## Usage\n\n```typescript\nimport { FontCharset } from '@embedpdf/models';\n\nconst fontFallback = {\n  fonts: {\n    [FontCharset.SHIFTJIS]: [\n      { url: 'NotoSansJP-Thin.otf', weight: 100 },\n      { url: 'NotoSansJP-Light.otf', weight: 300 },\n      { url: 'NotoSansJP-DemiLight.otf', weight: 350 },\n      { url: 'NotoSansJP-Regular.otf', weight: 400 },\n      { url: 'NotoSansJP-Medium.otf', weight: 500 },\n      { url: 'NotoSansJP-Bold.otf', weight: 700 },\n      { url: 'NotoSansJP-Black.otf', weight: 900 },\n    ],\n  },\n  baseUrl: 'https://cdn.jsdelivr.net/npm/@embedpdf/fonts-jp@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 JP is a trademark of Google LLC.\n","readmeFilename":"README.md","_rev":"1-8d970463970940f931177856070166ee"}