Export to PDF not support Hebrew

Answered
Maya Shavin asked on May 14, 2017

Hi,
As seen in new flex version, it is supported for CSV, XLSX export, but for PDF the character was not recognized in different language other than English.
 
See demo here: http://jsfiddle.net/dpnminh/rkprvhhs/152/
Thanks.
 
Maya

Attachments:
pivot (1).pdf

3 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster May 15, 2017

Hello Maya,
Thank you for reporting this issue. We will add the necessary fix in the version 2.317 ETA Jun 06.
Best regards,
Dmytro.

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster May 25, 2017

Hello Maya,
We have done a research on the issue with exporting Hebrew into PDF. After the research, we realized that the library which performs the export does not support the Hebrew symbols. The dev team had tried to implement some workarounds still, it did not solve the problem. For now, all possible solutions require significant time on full reworking the module which is responsible for the PDF export. Therefore we have to inform you that we will not be able to add the Hebrew support for PDF export in the nearest time. In such case, please try to use the other types of export which support the Hebrew language.
Regards,
Dmytro.

Public
Vera Didenko Vera Didenko Flexmonster June 5, 2019

Hello, Maya,
 
We are glad to announce that exporting the Unicode characters to PDF is now supported.
It means that from now on you can save PDF reports in Chinese, Arabic or any other language without any problems.
To do this, you only need to provide an appropriate TTF font file while using exportTo() API call.
Also, we have prepared a list of ready-to-use Google Noto Fonts that you can use to support almost any language in the world.
Please note, that only fonts in standard TTF format are supported.
 
Example of usage:

flexmonster.exportTo('pdf', {
  fontUrl: 'https://cdn.flexmonster.com/fonts/NotoSansCJKtc-Regular.ttf'
});

 
Check out an updated localization demo on JSFiddle.
 
The fix is available in the 2.7.7 version of Flexmonster.
 
You are welcome to update the component.
 
Please let us know if everything works fine.
 
We are looking forward to hearing from you.
 
Best Regards,
Vera

Please login or Register to Submit Answer