Skip to content

Fonts are ignored by SVG to PNG converter #967

Open
@MarvinKlein1508

Description

@MarvinKlein1508

Description

Fonts wont be translated into the PNG file. The PNG File will contain an empty image.

Example data

1

using (var stream = new MemoryStream(filenameSvg))
{
    var svgDocument = SvgDocument.Open<SvgDocument>(stream);
    var bitmap = svgDocument.Draw();
    bitmap.Save(filenamePng, System.Drawing.Imaging.ImageFormat.Png);
}

Used Versions

SVG 3.4.1
.NET 6.0.3
Windows 10 21H1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions