SVG are not displayed properly in PDF

Hi,

I’m trying to insert an SVG picture in a document. If I generate a .docx file it works fine. If I generate a .pdf (whatever the ConformanceLevel), the SVG are not displayed correctly.

Here’s the code to add the picture:

MemoryStream domainPictureStream = new MemoryStream(domainPicture.Data);
        FloatingLayout pictureLayout = new FloatingLayout(
            new HorizontalPosition(HorizontalPositionType.Absolute, HorizontalPositionAnchor.Column),
            new VerticalPosition(VerticalPositionType.Bottom, VerticalPositionAnchor.Line),
            new Size(1.4, 1.34, LengthUnit.Centimeter));
        pictureLayout.WrappingStyle = TextWrappingStyle.InFrontOfText;
        var picture = new Picture(
            document, 
            domainPictureStream,
            PictureFormat.Svg,
            pictureLayout);
        
        domainPictureRow.Cells[0].Blocks.Add(new Paragraph(document, picture));

Here’s a picture of the result. On the left the generated PDF, on the right the generated DOCX:

Can you help me find out what I’m doing wrong ?

Thanks a lot.
Romain

This issue has been fixed with this NuGet hotfix release:
Install-Package GemBox.Document -Version 33.0.1486-hotfix

Or with this bugfix:
https://www.gemboxsoftware.com/document/nightlybuilds/GBD33v1486.zip