Different Fonts, Bullets, Numbering, and Text Effects_Updated Version.zip (37.4 KB)
When the attached file is converted from a PowerPoint presentation into an PDF file, some of the moveto and lineto operations on the 7th page contain values of NaN.
@cormack.milyli
Thanks for the report. We tried to reproduce this on our side with the attached presentation, but we don’t see it. Converting it to PDF with GroupDocs.Conversion for .NET 26.6 gives us a clean page 7 — no NaN in any of the moveto/lineto operations. We also checked a range of earlier versions and the different PDF/A and PDF/UA output formats, with the same result.
So it looks like something specific to your setup. Could you share a minimal project that reproduces it, along with the PDF you’re getting? The resulting file would help a lot here, since it pins the problem down without us having to guess at the environment.
It would also be useful to know which version you’re on, and what OS the conversion runs on. If it’s Linux or a container, please let us know which base image and whether any fonts are installed there. Page 7 of this deck is the underline and strikethrough slide, and those are drawn as paths from font metrics, so a missing font is one thing that could plausibly explain the difference between your output and ours.
1 Like
Yes, this is happening in an Linux Docker container. I’ll work on making the recreation project, including the dockerfile and other items
We are also on 26.1.0. If we upgrade to 26.6.0 we are required to update System.Drawing to 7.0.0, but this causes issues on Linux with another library we use.
Here’s a reproduction. It may be a bit unintuitive but the test passes if Aspose can’t read the instructions because one of the operands is not a number. When I run the test in Reproduction.cs it will fail in Windows, but when I run it through the docker builder in RunInContainer.ps1 it will pass. The PowerPoint file included in this project is just the seventh slide of the previously shared file.
NotANumberReproduction.zip (60.1 KB)