PPTX convert to pdf

Hi Chang Shin,


Thanks for sharing the presentation. I have created an issue with ID SLIDESJAVA-33790 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

Hi Chang Shin,


Our development team has investigated SLIDESJAVA-33788 on their end and have tested Aspose.Slides for Java 7.1.1 for log4j dependency. There is no dependency observed for Aspose.Slides for Java. and have not been able to observe the issue. However, during investigation it has been observed that aspose-barcode-5.3.0-jdk15.jar and aspose-imaging-1.7.0-jdk15.jar set log4j to console. You may please need to consult Aspose.Barcode and Aspose.Imaging forums in this regard. Please share, if I may help you further in this regard.

Many Thanks,

The issues you have found earlier (filed as SLIDESJAVA-33788) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

We use java version 6.
is the latest one ok for java version 6 too?

Thanks,
Chang Shin


Hi Chang Shin,


I have shared the latest product release with you and you may please try using that with Java 6 with no issue. As shared in my last post Aspose.Slides for Java has no log4j dependency and our development team has not been able to observe the issue. However, during investigation it has been observed that aspose-barcode-5.3.0-jdk15.jar and aspose-imaging-1.7.0-jdk15.jar set log4j to console. You may please need to consult Aspose.Barcode and Aspose.Imaging forums in this regard.

Many Thanks,

Hi Chang Shin,


I like to share that our development team has investigated the issue on their end for your problem stated over this thread link and can not reproduce this issue in Ubuntu 11.10, Ubuntu 12.04.1, CentOs 6.3 and Mac OS 10.7.2 by using Aspose.Slides for Java v7.1.1 - v7.4.0. It reads the attached presentation and generates PDF without any exceptions.

Can you check this issue and share the environment OS version, JDK version along with other details with us.

Many Thanks,

Herea is the web server information:

Tomcat Version: Apache Tomcat/7.0.30
JVM Version: 1.6.0_35-b10-428-11M3811
JVM Vendor: Apple Inc.
OS Name: Mac OS X
OS Version: 10.8.2
OS Architecture : x86_64

The error is happened only Mac OS.
It is ok in Window 7.
We use Mac OS Server

Thanks,
Chang Shin

HI Chang Shin,


Thank you for sharing the requested information. I will share the further response with you as soon as it will be shared by our development team.

Many Thanks,


Hi Mudassir, Please resolve this bug SLIDESJAVA-33790 as we are facing the same issue as faced by Chang Shin.
We get the same GenBaseR font message ONLY on mac and it run excellently on Windows.
Please solve as soon as possible as it is very critical for our beta release.

Regards
Mohit Garg

Hi Mohit Grag,


I have observed that you have made similar inquiry in another forum thread as well. I have shared my response for your convenience over this thread link. Please share, if I may help you further in this regard.

Many Thanks,

Hi Ching Shin,


Please observe the font file attached, extract and copy in your MAC/Linux installation. Then try loading that using Aspose.Slides for Java 7.3.0 with following code. As per our development team, they have not been able to reproduce the issue by using the shared font. Please share your feedback in this regard.

FontsLoader.loadExternalFonts(new String[] “/Library/Fonts”, “/Library/Fonts/Microsoft”});


Many Thanks,

I am not clear regarding your instruction.
Can you tell me more detail?

It is my code to create pdf file.

PresentationEx pres = new PresentationEx(baseFolder+pptFilename);

//Instantiate the PdfOptions class
com.aspose.slides.PdfOptions opts = new com.aspose.slides.PdfOptions();

//Set Jpeg Quality
opts.setJpegQuality((byte)100);

//Define behavior for metafiles
opts.setSaveMetafilesAsPng(true);

//Set Text Compression level
opts.setTextCompression(com.aspose.slides.PdfTextCompression.Flate);

//Define the PDF standard
opts.setCompliance(com.aspose.slides.PdfCompliance.Pdf15);

//Save the prsentation to PDF with specified options
pres.save(baseFolder+pdfFileName, com.aspose.slides.SaveFormat.Pdf,opts);

Thanks,
Chang Shin

Hi Ching Shin,


Please try using Aspose.Slides for Java 7.3.0 on your end by copying the font shared in your operating system and setting the font path.

//Set the path where the shared font is copied in your machine
String Font_File_Path="/user/data/";

//Setting the fonts location where you have copied the used font
FontsLoader.loadExternalFonts(new String[] {Font_File_Path});

PresentationEx pres = new PresentationEx(baseFolder+pptFilename);

//Instantiate the PdfOptions class
com.aspose.slides.PdfOptions opts = new com.aspose.slides.PdfOptions();

//Set Jpeg Quality
opts.setJpegQuality((byte)100);

//Define behavior for metafiles
opts.setSaveMetafilesAsPng(true);

//Set Text Compression level
opts.setTextCompression(com.aspose.slides.PdfTextCompression.Flate);

//Define the PDF standard
opts.setCompliance(com.aspose.slides.PdfCompliance.Pdf15);

//Save the prsentation to PDF with specified options
pres.save(baseFolder+pdfFileName, com.aspose.slides.SaveFormat.Pdf,opts);

Many Thanks,

Where is the shared font?


Thanks,
Chang Shin

Hi Ching Shin,


I have shared the font in my previous post over this link for your convenience.

Many Thanks,

I used aspose.slides-7.3.0.jar library
When I test other file, I got this message:

Exception in thread “main” sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.aspose.ms.java.utf7charset.provider.CharsetProvider not found
at sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.access$000(Unknown Source)
at sun.misc.Service$LazyIterator.next(Unknown Source)
at java.nio.charset.Charset$1.getNext(Unknown Source)
at java.nio.charset.Charset$1.hasNext(Unknown Source)
at java.nio.charset.Charset$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.availableCharsets(Unknown Source)
at com.aspose.slides.pf4dd765c.fo.do(Unknown Source)
at com.aspose.slides.pf4dd765c.fo.do(Unknown Source)
at com.aspose.slides.pf4dd765c.fo.(Unknown Source)
at com.aspose.slides.pf4dd765c.bt.(Unknown Source)
at com.aspose.slides.pf4dd765c.bs.do(Unknown Source)
at com.aspose.slides.pf4dd765c.bs.do(Unknown Source)
at com.aspose.slides.pf4dd765c.fn.do(Unknown Source)
at com.aspose.slides.pf4dd765c.fn.createScaledRendering(Unknown Source)
at com.aspose.slides.akb.do(Unknown Source)
at com.aspose.slides.ajw.int(Unknown Source)
at com.aspose.slides.ajw.try(Unknown Source)
at com.aspose.slides.PictureEx.do(Unknown Source)
at com.aspose.slides.aao.do(Unknown Source)
at com.aspose.slides.aao.if(Unknown Source)
at com.aspose.slides.aao.(Unknown Source)
at com.aspose.slides.GeometryShapeEx.do(Unknown Source)
at com.aspose.slides.GeometryShapeEx.for(Unknown Source)
at com.aspose.slides.PictureFrameEx.do(Unknown Source)
at com.aspose.slides.GroupShapeEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.bda.if(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.save(Unknown Source)


Hi Ching Shin,


As far as I see it is no more a font issue but a new issue with separate presentation. Can you please share the source presentation with us along with the code snippet that you applied on presentation to reproduce the issue. I will investigate the issue further on my end to help you out.

Many Thanks,

Company does not want to share this pptx file with you because it is company confident file.
I will ask my boss again and then let you know later.

Thanks,
Chang Shin

Hi Chang Shin, 
You may please discuss accordingly on your end and share the file with us along with used sample code. I will try to reproduce the issue and will then create a ticket for that in our issue tracking system. 
Many Thanks,

The issues you have found earlier (filed as SLIDESJAVA-33790) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(2)