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 » Sun Jul 19, 2020 9:20 am

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: 3998
Joined: Fri Jun 09, 2006 3:58 am

Re: Problem with exported PDF file

Post by Andrew » Mon Jul 20, 2020 1:03 pm

Hello,

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

Thank you.
Post Reply