Hi,
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(),
ppImage);
Can you please check and confirm why the SVG-file is not converted properly and provide us a suitable solution?
Best Regards
Marco
attachement_svg_convert.zip (209.4 KB)