SVG not rendered correctly when saving Aspose Word socument as PDF

We are experiencing an issue where an embedded SVG image in a Word document is not rendered properly when the document is saved as a PDF using Aspose.Words.

This issue appears to have been introduced after Aspose.Words version 22.9.0 - the rendering worked as expected in earlier versions.

Sample documents generated with 22.8.0 and 22.9.0:
22.8.0.pdf (69.8 KB)

22.9.0.pdf (71.1 KB)

A minimal project to reproduce the issue:
WordToPdfSample.zip (10.1 KB)

Please advise if there is a known fix or recommended workaround.

@stanchev

It appears you are encountering issues with SVG rendering in PDFs when saving Word documents using Aspose.Words version 22.9.0. This problem may be related to changes in SVG processing introduced in this version.

Here are some steps you can take to troubleshoot or work around the issue:

  1. Check for Updates: Verify that you are using the latest version of Aspose.Words, as newer updates may have resolved this issue.

  2. Revert to an Older Version: If SVG rendering was functioning correctly in version 22.8.0, consider downgrading to that version until a fix is implemented in a future release.

  3. Convert SVG to a Different Format: As a workaround, you can convert SVG images to a different format (such as PNG or JPEG) before embedding them in the Word document. This approach can help ensure they render correctly in the resulting PDF.

  4. Contact Support: If the issue persists, reach out to Aspose support for assistance or check their forums for any known issues or solutions related to SVG rendering in PDFs.

If you have a minimal project that reproduces the issue, sharing it with the support team can facilitate a more effective diagnosis.

For further information, please consult the Aspose.Words documentation or their support resources.

@stanchev
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): WORDSNET-28756

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.

@alexey.noskov Thanks for the quick reply!

Is there a workaround we can use until the problem is fixed?

@stanchev No, unfortunately, there is no workaround of this issue. Please accept our apologies for your inconvenience.

@alexey.noskov No problem, thanks for the info and fast replies.

1 Like