Please let me know how to resolve the Font error when converting ppt to pdf .Sample file attached.
ERROR [PresentationToPDFConverter.convertPresentationToPdf:73] Exception While Converting the Presentation File com.aspose.slides.obfuscated.bri: java.lang.UnsupportedOperationException: Cannot find the required font. Name:“Calibri”, Style:0, IsExactStyle:false.ERROR
Hi Anand,
I have worked with your presentation using Aspose.Slides for Java 2.9.6 and have not been able to observe any issue while exporting to PDF. You may be missing Calibri font in your environment. Please install the desired font and hopefully the issue will be resolved.
PS: I have carried my investigation in Window 7 x64 with JDK 1.6 installed.
Many Thanks,
Hi,
Thank you for your reply.The conversion is working in my local but not working when i deploy in server.Do I need to install the required fonts in the server?Could you please let me know in which path do I need to install?Is ASPOSE reading fonts from C:\Windows\Fonts directory?
I also pretty much like to know is there any way to read the fonts other than the above location???Which means I will copy all my fonts in one server location and making ASPOSE to read fonts from that location…possible?
Hi Anand,
I like to share that we have provided the functionality for loading fonts from custom location in Aspose.Slides for Java using FontLoader class. You need to copy the desired and used fonts in any directory and need to load fonts from mentioned directory using FontLoader class in your application. Please visit this thread link for your kind reference and share with us if any further assistance is needed in this regard.
Many Thanks,
Thank you very much.I will try this and let you know if any assistance needed.