Commit 0a0f9b19 authored by Tebjan Halm's avatar Tebjan Halm
Browse files

Merge pull request #188 from ubbn/master

Fix #185: Multiline text is not rendered. 
parents 79e87a0a cc3765b2
......@@ -789,6 +789,10 @@ namespace Svg
{
var childPath = ((SvgVisualElement)child).Path(renderer);
// Non-group element can have child element which we have to consider. i.e tspan in text element
if (child.Children.Count > 0)
childPath.AddPath(GetPaths(child, renderer), false);
if (childPath != null && childPath.PointCount > 0)
{
childPath = (GraphicsPath)childPath.Clone();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment