Issue : Export pdf with symbol €

Answered
Jaffrezic asked on November 28, 2018

Hi
I have an issue when export my pivot to PDF, see screenshot in attachment.
Please check the following sample: https://jsfiddle.net/rho2jmdk/
Regs
Franck

Attachments:
exportPDF.png

2 answers

Public
Ian Sadovy Ian Sadovy Flexmonster November 29, 2018

Hello Franck,
 
Thank you for reporting.
It is a known limitation of PDF export, it doesn't support UTF8 symbols.
We've already added it to our backlog, but it's a complex task.
Still, as a workaround, you can use other types of export (HTML, Excel) or replace € symbol to EUR or something else.
Please let us know how critical it is for you.
 
Regards,
Ian

Public
Vera Didenko Vera Didenko Flexmonster June 5, 2019

Hello, Franck,
 
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