Font Colors and Bullet Spacing Off in PPT File

We convert PPT files to PDF using the following code:


new PresentationEx(sourceStream).Save(destinationStream, Aspose.Slides.Export.SaveFormat.Pdf)));

For the attached file, the formatting is incorrect when comparing it to the file opened in PowerPoint. For example, the bullets on page 3 bleed into the footer of that page. The color of the text in the indented bullets on the 4th page should be white. The spacing between the line items on page 5 is off so many of the items are off the page.

There are other issues with this document, but those are the most glaring.

After opening this document in PowerPoint and saving it as a PPTX, we are able to convert the file to PDF using the same code and it looks fine.

Hi Jacob,


I have worked with the presentation file shared by you and have exported to PDF using Aspose.Slides for . NET 6.5.0. I have not been able to observe the reported issues in generated PDF. However, I have observed the minor issue in rendering of level 1 bullets text for Slide 4. The text “Administration” and “Directors” is rendered with white outline. I have created an issue with ID SLIDESNET-33673 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 Mudassir,

Thanks for looking into this; however, after upgrading to 6.5.0, I’m still seeing the issue. I’ve attached the PDF that results from the conversion. Here is a better, page-by-page description of the differences:

The title on each page should have a drop shadow.

Page 1: Drop shadow is missing on all the text. This is not important, but a difference none-the-less.

Page 2: Each of the line items should be part of an ordered list (numbered) with blue numbers (1 through 6) to the left of each line item.

Page 3: Only two of the 5 top-level bullet points appear on screen. The spacing between each bullet is so large that the third item is in the footer and the following items are off the slide. The bullets should also be blue, not white. The 5th bullet has a sub-bullet that has black text and the bullet graphic is a four-diamond pattern.

Page 4: The top-level bullets should be blue. Both the first and second set of lower-level bullets should be the same. In the attached PDF, only the second set of indented text has bullets. The lower-level bulleted text should be white, not black.

Page 5: This is similar to page 3 in that the spacing between the lines is so great that only 4 of the 9 lines appear within the slide. Also, the text should be white, not black and the bullet graphic next to each line item should be a white, right-facing arrow.

Page 6: The lower-level bulleted text should be white. The spacing is off as well. In the actual slide, the content takes up a majority of the slide. The attached PDF shows a lot of extra white space between the content and the footer.

Page 7: The lower-level bullets under the third top-level bullet should have the four-diamond pattern mentioned in the description of page 3.

Please let me know if you need any more information to reproduce.

Best,
Jacob

Hi Jacob,


I have observed the PDF shared by you and have observed the issues shared by you. However, by using .NET framework 2.0 assembly of Aspose.Slides for .NET 6.5.0, I have not been able to observe the issues specified. For your kind reference, I have also shared the generated PDF as well that I created on my end. Can you please share, by using which Aspose.Slides assembly, you have created the PDF.

Many Thanks,

I created that PDF with the .NET 3.5 version of the 6.5.0 Aspose.Slides assembly. Just on the off-chance that the .NET version of the assembly mattered, I switched over to the .NET 2.0 assembly and got the exact same result. Can you attach the PDF that results from your own testing? What might I be doing wrong if we’re getting different results?

Thanks,

Jacob

Hi Jacob,


I have worked over the presentation file using .NET 3.5 assembly of Aspose.Slides for .NET and have not been able to reproduce the issue specified. For your convenience, I have attached the sample project along with generated PDF. One thing that you may check on your end is to verify the display properties on your end. Please set them in accordance with one I have shared.

Many Thanks,

Thanks! The sample project pointed me in the right direction. Please mark this as resolved. It all came down to using Presentation for PPT and PresentationEx for PPTX files. We were using PresentationEx for both and that seemed to be causing the problem.

After upgrading to 6.6, there appears to be a regression in the rendering of this file.


I’m using the following code to convert the earlier attached PPT file:

new Presentation(sStm).Save(dStm, Aspose.Slides.Export.SaveFormat.Pdf);

In 6.1, the numbers on page 2 (for example) are blue. This is expected.

In 6.6, the numbers on page 2 are black.

There are other instances throughout the file where there are differences between the way 6.1 rendered it correctly and 6.6 now renders it incorrectly.

Hi Jacob,


Thanks for sharing the feedback. Can you please share the two PDF file from the mentioned versions so that I may observe the issue on my end as well and log the issue in our issue tracking system.

Many Thanks,

After looking at the PDF you created with Aspose.Slides version 6.5, I can say that the change was made between version 6.5 and 6.6. With that said, here are the PDFs that I generate with the following code when using Aspose.Slides 6.1 versus 6.6:


new Presentation(sStm).Save(dStm, Aspose.Slides.Export.SaveFormat.Pdf);

Note that the PDF I generated with 6.1 is very similar to that which you generated with 6.5.

Hi Jacob,


Thanks for the updates. I have observed the observations shared by you. I have updated the status of issue SLIDESNET-33673 based on information shared and have changed the issue type to regression as well. We will share the information with you as soon as it will be shared by our development team and will appreciate your patience till that time.

Many Thanks,

Hi Jacob,

Our development team has investigated the issue on their end in Aspose.Slides for .NET 7.9.0. it is not an issue with Aspose.Slides. While investigating this issue we have found that:

  • The presentation was originally created in PPTX format then exported to PPT. That has brought some additional data into the presentation.
  • That additional data is supported by MS PowerPoint 2007 and newer. If you open that presentation in MS PowerPoint 2003 you will see the same white shadow as our library exports.
So the conclusion is that there is no bug, we support the PPT format correctly to the same extent as MS PowerPoint 2003 does. Advanced features of PPT format requiring MS PowerPoint 2007 or newer are not currently supported. Implementing of such support is planned for the future.

Many Thanks,

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


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