Problem with exported PDF file

Stimulsoft Reports.JAVA discussion
Post Reply
homa
Posts: 1
Joined: Sun Jun 28, 2020 5:41 pm

Problem with exported PDF file

Post 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)
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Problem with exported PDF file

Post by Andrew »

Hello,

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

Thank you.
Post Reply