Hi Everyone,
Hi Phuc,
Thanks for your inquiry.
Your query is related to Aspose.Slides. I am moving this forum thread to
Aspose.Slides forum. My colleagues from Aspose.Slides team will reply you
asap.
Hi Phuc,
Hi Mudassir,
Hi Mudassir,
Hi Phuc,
Its good to know that installation of missing fonts have rectified the issue on your end. Please share if I may help you any further in this regard.
Many Thanks,
Hi Mudassi,
Hi Phuc,
I have worked with the presentation file using Aspose.Slides for Java 15.6.0 on my end and have created the PDF. There is no issue in generated PDF on my end. I request you to please try using the shared version and installing the fonts used in presentation on your end. I am hopeful that this will resolve the issue on your end.
Many Thanks,
Hi Mudassir,
Hi Phuc,
phuctran:
Hi Mudassir,I'm using fonts (Arial,Courier New), Aspose-slide-15.6.0, JDK 1.7.0.79I found out problem, if I convert from ppt to pdf, it's ok, but in my case, after convert to pdf to compress pdf file, it is the root cause for above error. below is my function to compress pdf fileprivate void compressPDF(final File pdfFile) throws Exception {com.aspose.pdf.License newjavalic = new com.aspose.pdf.License();newjavalic.setLicense(new FileInputStream(licenseFile));Document doc = new Document(pdfFile.getAbsolutePath());doc.optimizeResources();doc.save(pdfFile.getAbsolutePath());}please check it again.Hi Phuc,I have tested the scenario of PDF file optimization using Aspose.Pdf for Java 10.6.1 in Eclipse Juno application running over Windows 7 (x64) with JDK 1.7 and I am unable to notice any issue. For your reference, I have also attached the PDF file generated over my end.BTW, for testing purposes/input file, I have used the PDF file shared by Mudassir in earlier post.
hi Nayyer,
Hi Phuc,
Hi Nayyer,
Hi Phuc,
Hi Phuc,
thank you for your verification, I verified and I found out when I run conversion as stand alone application, conversion works ok, but when we integrated it with our mobility app, I got above error. I have no time to investigate this issue, because it only appear with powerpoint file several text.
Hi Phuc,