When exporting PDF, the chinese/japanese characters can't be displayed.

Posted by: tvhau.dev on 16 November 2020, 1:37 pm EST

  • Posted 16 November 2020, 1:37 pm EST

    Currently I'm using wijmo.pdf.PdfDocument and angularjs to export PDF,
    When exporting pdf, the chinese/japanese characters can't be displayed.

    > Could you tell me how to can be displayed well with chinese/japanese characters?
    > Could i get it for free? And it need be packed in our app installation, yes?

    Refer to the sample below.

    I'm waiting for your help.
    Thank you.
  • Replied 16 November 2020, 8:14 pm EST


    You need to register fonts for exporting Chinese and Japanese strings. Please refer to the demo link below that demonstrates how to add custom fonts and export Japanese characters:


  • Replied 17 November 2020, 4:42 am EST

    Hi ,
    I tried your solution, it didn't work with Chinese
    > refer to the image below

    > sample : https://github.com/tvhau/PDF_EXPORT.git
    Can you show me the font can display for both Japanese and Chinese?
  • Replied 17 November 2020, 7:00 pm EST

    I think the ipaexg font is not working property with Chinese. You can try using the ZCoolXiaoWei font for Chinese characters.


    Please refer to the updated sample attached.

    Note that this font only works with Chinese characters and not Japanese characters.


  • Marked as Answer

    Replied 18 November 2020, 12:50 am EST

    Hi Ashwin,
    I tried installed the fonts including "Arial Unicode MS" , Then The Japanese/Chinese characters can be displayed.

    Thanks a lot.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels