We have a problem when exporting flat table to PDF.
Attachment flex1.png shows a table, flex_pdf.png shows the result(pdf). Czech letters in the result are broken, the font is different. Any soulution ?
Hello Marek,
Thank you for reporting this issue.
The described issue with fonts can occur when exporting data to PDF, when the PDF generator is unable to find specific symbols. This leads to corrupted export results, as is shown in your screenshot. To fix this, we recommend exporting to PDF using the exportTo API call with explicitly providing a font file using the fontUrl property. With this, you can correctly embed the Czech letters in the exported PDF, and they should render normally.
Additionally, if you need to adjust the export behavior in the export tab of Flexmonster's toolbar, you can override the toolbar handler as shown in this example: https://jsfiddle.net/flexmonster/mugLx40n/
Please let us know if our answer was helpful.
Best regards,
Maksym
Hello Marek,
Thank you for reaching out ot us.
We are wondering if you have tried setting the fontUrl to export data with Czech letters to PDF.
Please let us know if this worked for you.
Best regards,
Maksym
Yes it works. TX
Hello Marek,
Thank you for your reply.
We are glad to hear that the suggested solution worked for you.
Feel free to contact us if you have any other questions.
Best regards,
Maksym