Importing SVG image in slide results in wrong fonts (Java)

I’m replacing an image (PictureFrame) by a svg image. During this replacement, the svg is converted to an emf image. For that conversation, wrong fonts gonna be used. All used fonts are known by the operation system.

PictureFrame pictureFrame = <get pictureFrame>;
SvgImage svgImage = new SvgImage(newImgBytes);
IPPImage newImage = pictureFrame.getPresentation().getImages().addImage(svgImage);
pictureFrame.getPictureFormat().getPicture().setImage(newImage); (896.2 KB)

Am I missing something?

Update: If the global css styles of the SVG were converted into inline CSS styles, then the PowerPoint looks really fine.


I have worked with the sample files shared by you and have been able to observe the issue. An issue with ID SLIDESJAVA-38055 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed

The issues you have found earlier (filed as SLIDESJAVA-38055) have been fixed in this update.