Hi team.
We have run into a problem with overlapping text when *.pptx file was saved in pdf format applying specific font to the text.
Scenario:
there is a *.pptx file where Untitled Serif font is applied to the text. After saving it as pdf using aspose, overlapping text is appeared.
Installing font on the system not helped.
Archive with fonts, test project and pptx file is attached.
AsposeOverlappingText.zip (1.5 MB)
internal ticket CLN-2592
@VadymIanchenko
The issue of overlapping text when saving a PPTX file as a PDF, particularly with a specific font like Untitled Serif, can arise due to font rendering problems. Here are several steps you can take to troubleshoot and potentially resolve this issue:
-
Ensure Font Availability: Verify that the Untitled Serif font is properly installed on the system where the conversion is taking place. Even if the font appears to be installed, it may not be recognized correctly by the application.
-
Use a Different Font: If the font is not rendering correctly, consider using a different font that is similar and widely supported. This can help avoid rendering issues associated with less common fonts.
-
Check for Updates: Make sure you are using the latest version of Aspose.Slides, as updates may include fixes for rendering issues that could be causing the overlapping text.
-
Adjust PDF Options: When saving the PPTX as a PDF, you can try adjusting the PDF save options. For instance, you can set the EmbedFonts
option to true to ensure that fonts are embedded in the PDF, which may help with rendering.
Here is a sample code snippet to save a PPTX file as a PDF with font embedding:
Presentation presentation = new Presentation("input.pptx");
PdfOptions options = new PdfOptions();
options.setEmbedFonts(true);
presentation.save("output.pdf", SaveFormat.Pdf, options);
If the problem persists, consider reaching out to Aspose support with the specific PPTX file and font details for further assistance.
@VadymIanchenko,
Thank you for reporting the issue. I have reproduced the text overlapping when converting the PowerPoint presentation to PDF. We apologize for any inconvenience caused.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESNET-45155
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.