while converting pptx to pdf font size is increasing, Is there a way to retain font size as in pptx.
Hi Arpit,
I have observed the issue shared by you and request you to please share the sample presentation along with generated PDF file with us. Please also share the Operating System and Java details with us as well for further investigation. We will investigate the issue further on our end to help you out.
Many Thanks,
I have the similar issue here. The PDF generated has large font size. Is there any solutions?
Hi,
I have observed the issue shared by you and request you to please share
the sample presentation along with generated PDF file with us. Please
also share the Operating System and Java details with us as well for
further investigation. We will investigate the issue further on our end
to help you out.
Many Thanks,
Hi,
Hi,
FontsLoader.loadExternalFonts(new String[]{fontpath});PresentationEx pres=new PresentationEx(“test.pptx”);pres.save(“test.pdf”,SaveFormat.Pdf);
Hi Mudassir,
Hi,
Hi Mudassir,
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
OS: Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
String path="/Users/mudassir_controlled/Documents/Aspose/";String FontPath=path+"Fonts/";FontsLoader.loadExternalFonts(new String[]{FontPath});PresentationEx(path+"report.pptx");pres.save(path+"report.pptx.pdf",SaveFormat.Pdf);
Hi Mudassir,
Hi Arpit,
Is it able to load the fonts from classpath, such that the application can be self contained?
Hi Mudassir,
Hi Arpit,
I like to share that the output that I have shared with you has been achieved by using the same fonts that I have shared along with the sample code. It may be some other issue incurring then as the issue is not related to Aspose.Slides for Java. Can you please share the MAC version along with JDK 1.7 version used on your end. I also suggest you to please try using Aspose.Slides for Java for generating output in some other machine as well.
Many Thanks,
Hi Mudassir,
Hi Raymond,
I have observed the comments shared by you. Can you please confirm again that in which environment you are getting issue. I shared the results of MAC 10.6 on my end with you and you can see they are all good by using the share sample code and fonts. Are you having issue in Linux environment as you have shared that you have tested in Linux machine.
I again suggest you to please try using the sample code given in this post by creating a console application from scratch and using Fonts.rar. Please make sure about the path of font directory that you are using in your sample code must conform with actual font directory path. You can try the tests in Linux and MAC environments. I tested in MAC and Windows 7 without any issue using Aspose.Slides for Java 8.5.0 and JDK 1.6.
Please share, if I may help you further in this regard.
Many Thanks,