-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Use svg.js will pdf to svg, but out of the Chinese garbled #9856
Comments
You'll need to provide all information asked for in the issue template (https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md) because we cannot do anything with just code snippets. By reading your description I can only guess you did not include the cMaps that may be needed for rendering Chinese text. Refer to https://github.com/mozilla/pdf.js/blob/master/examples/svgviewer/viewer.js#L56-L64. |
I use the official website example and then convert our own generated pdf, there is also a garbled phenomenon |
I'm sorry for my bad english, it's not my native language.
This is the code, I hope to help me see why it turns out to be garbled
The text was updated successfully, but these errors were encountered: