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)