You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var svgDocument = SvgDocument.Open(Path.GetTempPath()+image.ID+".bin");
var bitmap = svgDocument.Draw();
using (MemoryStream s = new MemoryStream()){
bitmap.Save(s, ImageFormat.Png);
byte[] byteImage = s.ToArray();
Base64 = Convert.ToBase64String(byteImage); // Get Base64
}
Used Versions
Version Nuget, Windows Server 2019 and a I am using .NET Core
The text was updated successfully, but these errors were encountered:
Description
When converting to png and using a letter-spacing in a text the letters goes to the first position and overlap, like it has no space.
When removing the letter-spacing it works as intended.
Example data
In browser view(what is expected)
When converting to png:
Code:
SVG:
.NET:
Used Versions
Version Nuget, Windows Server 2019 and a I am using .NET Core
The text was updated successfully, but these errors were encountered: