Files
dukang/server/dukang-api/assets/fonts/README.md
T
jacy 22cd00da42
CI / verify (pull_request) Waiting to run
v3.5.5版本上传
2026-08-23 12:26:57 +08:00

13 lines
420 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PDF 导出字体
订单 PDF 导出需要支持中文的 TTF/OTF/TTC 字体。按优先级尝试:
1. 环境变量 `EXPORT_PDF_FONT_PATH`
2. `assets/fonts/NotoSansSC-Regular.otf`(推荐,SIL OFL
3. `assets/fonts/simhei.ttf`
4. `assets/fonts/msyh.ttc`
5. Linux 系统字体(如 `fonts-noto-cjk`
6. Windows 系统字体(开发机)
本地开发可将 `C:\Windows\Fonts\simhei.ttf` 复制到本目录。