Page 1 of 1

Problem with exported PDF file

Posted: Sun Jul 19, 2020 9:20 am
by homa
I have a project in spring boot , I have a text with Persian font in my report . The report exports to Word2007 format correctly. But when It is exported to PDF, The text is not displayed in PDF format, I have used following code , It seems that settings.setEmbeddedFonts(True) is not applied to PDF file during exporting process. So font is not embedded to PDF file. Although the file(included Persian font) is displayed correctly on my system, Persian font in generated PDF is not displayed in another system

Code: Select all

StiPdfExportSettings settings = new StiPdfExportSettings();
setting.setEmbeddedFonts(true);
StiExportManager.exportPdf(report,settings,outputStream)

Re: Problem with exported PDF file

Posted: Mon Jul 20, 2020 1:03 pm
by Andrew
Hello,

Please send us your font and report to support@stimulsoft.com and refer to this forum thread.

Thank you.