Hi,
I have noticed a problem displaying a SVG image.
Failure Effect:
If you open the image e.g. in a browser, the SVG image will be displayed correctly.
In the generated document several strokes are not displayed correctly in the SVG image.
In the comparison between the SVG image and the generated document the difference shows up:
- “image.svg” = SVG image (expected)
- “result.docx” = generated document (result)
both contained in svg.zip (7.6 KB)
Steps to Reproduce:
Using Aspose.Words for Java 19.11 (also testet with 18.7).
Using the following sample SVG image:
- “image.svg” contained in svg.zip (7.6 KB)
Using the following code:
DocumentBuilder documentBuilder = new DocumentBuilder(); documentBuilder.insertImage(“image.svg”); documentBuilder.getDocument().save(“result.docx”);
Regards
Ingo Gutzeit