Aspose.Words for .NET -- weird character when converting to PNG or SVG

When converting the attached document to PNG or SVG format, the output has strange square or square-with-a-question-mark-inside. It starts in section 7.0 of the document – earlier bullets are fine. I have attached the original Word file and the output PNG and SVG files. (275.5 KB)


After an initial test with the latest version of Aspose.Words for .NET i.e. 19.1, we were unable to reproduce this issue on our end over Windows 10 (please see output PNGs and (757.7 KB)). Please upgrade to the latest version. Hope, this helps.

We used the following code on our end for testing:

private class HandlePageSavingCallback : IPageSavingCallback
    public void PageSaving(PageSavingArgs args)
        args.PageFileName = string.Format(@"E:\Temp\dl101\Page_{0}.png", args.PageIndex);

Document doc = new Document("E:\\temp\\dl101\\DL 101 Methamphetamine D and L Isomer by Tandem Mass Spectrometry.docx");

ImageSaveOptions opts = new ImageSaveOptions(SaveFormat.Png);
opts.PageIndex = 0;
opts.PageCount = doc.PageCount;
opts.PageSavingCallback = new HandlePageSavingCallback();

doc.Save("E:\\temp\\dl101\\19.1.png", opts);