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

Does not support Chinese characters #18

Open
rolero opened this issue Oct 5, 2019 · 3 comments
Open

Does not support Chinese characters #18

rolero opened this issue Oct 5, 2019 · 3 comments

Comments

@rolero
Copy link

rolero commented Oct 5, 2019

Key image file does not show the Chinese characters.

image

@rolero
Copy link
Author

rolero commented Oct 5, 2019

Printscreen console:

image

@riverrun
Copy link
Owner

Thanks for raising this issue. I am looking into it now.

@slycordinator
Copy link

On my system, I can see the Chinese characters in the console and they show up in the PDF.

The console output is likely related to the LOCALE not being UTF-8. My LOCALE is en_US.UTF-8.

Here is printed console output for me, with the grid showing the Chinese characters.
tuL43H59q1

And the PDF is display is likely related to the system not having fonts that include the characters.
Here's a grid from my system that shows the Chinese characters.
grid

My generated PDF has the following fonts embedded:

  • DejaVuSans-Bold
  • DejaVuSansMono
  • DejaVuSerif
  • NanumBarunGothic-YetHangul

The last font is Korean, but includes many Chinese characters. If I were to make a grid with some rare Chinese characters that don't show up in Korean, I'd probably get placeholders like the OP.

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