genxword icon indicating copy to clipboard operation
genxword copied to clipboard

Does not support Chinese characters

Open rolero opened this issue 4 years ago • 3 comments

Key image file does not show the Chinese characters.

image

rolero avatar Oct 05 '19 13:10 rolero

Printscreen console:

image

rolero avatar Oct 05 '19 13:10 rolero

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

riverrun avatar Oct 14 '19 02:10 riverrun

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.

slycordinator avatar Mar 02 '22 02:03 slycordinator