Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
0a0f9b19
Commit
0a0f9b19
authored
Sep 06, 2015
by
Tebjan Halm
Browse files
Merge pull request #188 from ubbn/master
Fix #185: Multiline text is not rendered.
parents
79e87a0a
cc3765b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/SvgElement.cs
View file @
0a0f9b19
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment