# 第三方组件说明

文献手帐使用了以下开源组件，它们的许可证全文保存在仓库里。

| 组件 | 用途 | 许可证 | 许可证文件 |
|---|---|---|---|
| [pdf.js](https://github.com/mozilla/pdf.js) 3.11.174 | 在浏览器里渲染 PDF | Apache License 2.0 | `vendor/LICENSE-pdfjs.txt` |
| [pdf-lib](https://github.com/Hopding/pdf-lib) 1.17.1 | 导出带批注的 PDF | MIT | `vendor/LICENSE-pdf-lib.md` |
| [霞鹜文楷 TC（LXGW WenKai TC）](https://github.com/lxgw/LxgwWenkaiTC) | 批注手写字体 | SIL Open Font License 1.1 | `fonts/LICENSE-lxgw-wenkai-tc.txt` |
| [龙藏体（Long Cang）](https://github.com/googlefonts/longcang) | 批注手写字体 | SIL Open Font License 1.1 | `fonts/LICENSE-long-cang.txt` |
| [马善政楷书（Ma Shan Zheng）](https://github.com/googlefonts/mashanzheng) | 批注手写字体 | SIL Open Font License 1.1 | `fonts/LICENSE-ma-shan-zheng.txt` |

字体文件取自 [Fontsource](https://fontsource.org/) 按字符范围切分的 woff2 版本。浏览器只会下载页面实际用到的那部分字形。

`demo/demo.pdf` 是专为演示写的原创文档。它嵌入了按字符裁剪过的思源宋体和思源黑体（Noto Serif/Sans CJK，SIL Open Font License 1.1）。
