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

About Chinese Character Encoding #2

Open
xfwhwh opened this issue Jul 27, 2013 · 2 comments
Open

About Chinese Character Encoding #2

xfwhwh opened this issue Jul 27, 2013 · 2 comments

Comments

@xfwhwh
Copy link

xfwhwh commented Jul 27, 2013

This is a great ware that can generate PDF with multi-language in HTML application, and the demo has demonstrated that it can handle the Japanese Character well. However, I have found that the useCNSEncodings() as defined in libharu does not work. It will really help to generate the PDF with Chinese Charcters. It seems that this function is not re-define in the hpdf.js, how can I added this into the hpdf.js? Thank you : )

@manuels
Copy link
Owner

manuels commented Jul 28, 2013

Hi,

yes, I forgot this method.
you can add it just in the same way that UseJPEncodings is defined:
https://github.com/manuels/hpdf.js/blob/master/post.coffee#L565

then recompile it.

Another option would be using texlive.js: https://github.com/manuels/texlive.js/

@Merg1255
Copy link

@manuels Can you please update hpdf.js library so that it has full utf8 support? That would make it easier to use for all languages pdf.

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

3 participants