百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#1232·pdf-lib

在嵌入字体时,日语(以及可能其他语言)中的某些字符不会显示,原因是 subset 设置为 true

作者: bridger创建于 2022年5月15日更新于 2026年7月23日
标签bugneeds-triage

What were you trying to do? I'm trying to generate a PDF with user-generated text in a lot of different languages / scripts. I'm using a font that includes a large portion of Japanese, Traditional Chinese, Simplified Chinese, and Korean. It is a huge font, so I'd like to use {subset: true} so that the entire font isn't embedded into the PDF.

内容来源: Hopding/pdf-lib

查看 GitHub 原文在 GitHub 查看讨论