Svg 2.4.3

Public fork of the C# SVG rendering library on codeplex:

This started out as a minor modification to enable the writing of proper SVG strings. But now after almost two years we have so many fixes and improvements that we decided to share our current codebase to the public in order to improve it even further.

So please feel free to fork it and open pull requests for any fix, improvement or feature you add.

License: Microsoft Public License:

There is a newer version of this package available.
See the version list below for details.
Install-Package Svg -Version 2.4.3
dotnet add package Svg --version 2.4.3
<PackageReference Include="Svg" Version="2.4.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Svg --version 2.4.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

added font manager to allow user-defined font handling (see PR #414)
fixed handling of invalid hex color and whitespace after hex color (see #399)
fixed default font size (caused text not to be displayed, see #419)
fixed writing of RGBA colors (see #129)
fixed writing of custom styles (see #129)
fixed handling of default values for radial gradients (see #397)
allow empty value for style property (see #318)
added handling of referenced viewBox scaling in "use" elements
handle special case where path consists of a single move command (see #223)
correctly write fill-rule, clip-rule and named color attributes as lower case (see #272)
several fixes for markers:
added support for marker attributes in groups
partly fixed marker appearance (stroke and fill color, scaling, deafult orientation)
apply transformations in the marker drawing element (see #215)
correctly show mid markers for paths with Bezier curves
handle markers on paths with successive equal points


This package has no dependencies.

Showing the top 3 GitHub repositories that depend on Svg:

Repository Stars
Greenshot for Windows - Report bugs & features go here: or look for information on:
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
Squalr Memory Editor - Game Hacking Tool Written in C#

Version History

Version Downloads Last updated
3.0.49 4,358 8/30/2019
3.0.20-g594db9696a 1,132 7/29/2019
3.0.9-g6ea47b4039 985 6/27/2019
3.0.3-gecdc54b12b 734 6/19/2019
2.4.3 18,877 5/7/2019
2.4.2 23,610 3/1/2019
2.4.1 12,056 1/25/2019
2.4.0 11,454 1/8/2019
2.4.0-preview1 623 1/1/2019
2.3.0 321,896 12/28/2016
2.2.2 22,211 11/17/2016
2.2.1 36,665 5/24/2016
2.2.0 2,394 5/9/2016
2.1.0 58,431 9/17/2015
2.0.0 30,001 3/23/2015
1.7.0 40,835 7/2/2014
1.6.1 11,454 3/13/2014
1.6.0 842 3/13/2014
1.5.2 7,466 11/25/2013
1.5.1 970 11/18/2013
1.5.0 3,746 9/13/2013
1.0.2 8,695 6/27/2013
1.0.1 919 6/20/2013
1.0.0 3,460 6/17/2013