Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to support Chinese text pdf, how to add fonts #153

Open
Reyn-JHR opened this issue Sep 20, 2024 · 1 comment
Open

How to support Chinese text pdf, how to add fonts #153

Reyn-JHR opened this issue Sep 20, 2024 · 1 comment

Comments

@Reyn-JHR
Copy link

怎么支持中文文本的pdf,怎么自己加入字体

@AndreRenaud
Copy link
Owner

AndreRenaud commented Sep 20, 2024

PDFGen only support the fonts builtin to the PDF standard. It currently doesn't support adding custom fonts. The PDF standard fonts really only cover latin characters (see appendix D of https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf). To support other character sets it would need custom font support added, which has been looked at, but is not really in the works at the moment.

This is really the same as the Unicode issue - #128

Repository owner deleted a comment Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants