Free Support Forum - aspose.com

Version 2.8.7: When PPT converted to images the bullets still appear as some special charecters

Hi,

I used the new version (version 2.8.7) for converting ppt to Jpeg images, even now there are problems in bullets. They appear as some different charecter. I am pasting the code i have used and attaching the ppt i used to convert and the final image. Can you please check it on your side and let me know the reasons for this.

Presentation imagePres = new Presentation("C:\\tmp31.ppt");
Slide imageSlide = null;
bool hasAudioVideo = false;
for (int j = 1; j <= imagePres.Slides.LastSlidePosition; j++) {
imageSlide = imagePres.GetSlideByPosition(j);
hasAudioVideo = false;
foreach (Shape shape in imageSlide.Shapes) {
if (shape is AudioFrame || shape is VideoFrame) {
hasAudioVideo = true;
break;

}
}
if (hasAudioVideo == false) {
ImageCodecInfo[] codecs = ImageCodecInfo.GetImageEncoders();
ImageCodecInfo ici = null;
foreach (ImageCodecInfo codec in codecs) {
if (codec.MimeType == "image/jpeg") {
ici = codec;
break;
}
}
Image image = imageSlide.GetThumbnail(new Size(1813, 1360));
image.Save("C:\\test.jpg");

}

Thanks and Regards.

Hi,

Thanks for reporting. We will fix this bug as soon as possible.

Actually, this is not a bug.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

The presentation you provided, refers to Monotype Sorts font, since it is not installed on your computer; that is why, you are getting incorrect bullet characters. Once you will install this font, you will get the correct thumbnails.

You can get it from this link.

http://www.fontstock.net/font/11164/Monotype-Sorts.zip

Thanks a lot for finding the problem. Is there any way to extract embedded fonts from PPT. and then if possible install them?

Kind Regards

No, there is no such a way.