We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Characters are improperly rendered when importing SVG in slide (Java)


when importing the SVG file in the attachement into a PowerPoint presentation, the characters ‘•’ and ‘€’ are not displayed correctly. Instead we only get a blank rectangle.
An example pptx-file where the SVG is not shown correctly is also in the attachement.

I’m using the following code to add the SVG into the presentation:
String svgContent = new String(Files.readAllBytes(this.svgFile.toPath()));
ISvgImage svgImage = new SvgImage(svgContent);
IPPImage ppImage = presentation.getImages().addImage(svgImage);
slds.get_Item(0).getShapes().addPictureFrame(ShapeType.Rectangle, 0, 0, ppImage.getWidth(), ppImage.getHeight(),

Can you please check and confirm why the SVG-file is not converted properly and provide us a suitable solution?

Best Regards


attachement_svg_convert.zip (209.4 KB)


I have observed the issue shared by you and request you to please try using latest Aspose.Slides for Java 19.6 on your end. I also suggest you to please ensure that if fonts used in SVG are available on your end or not too.