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
efe165d4
"vscode:/vscode.git/clone" did not exist on "7bb22d37b6428005f76df68631fca2a3e5f4596a"
Commit
efe165d4
authored
Dec 23, 2013
by
Rob1080
Browse files
Fix for font not being set after fontsize is set.
parent
32eed5bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Text/SvgText.cs
View file @
efe165d4
...
@@ -186,7 +186,6 @@ namespace Svg
...
@@ -186,7 +186,6 @@ namespace Svg
int
fontSize
=
10
;
int
fontSize
=
10
;
int
.
TryParse
(
res
.
Value
,
out
fontSize
);
int
.
TryParse
(
res
.
Value
,
out
fontSize
);
this
.
FontSize
=
new
SvgUnit
((
float
)
fontSize
);
this
.
FontSize
=
new
SvgUnit
((
float
)
fontSize
);
break
;
}
}
//this assumes "bold" has spaces around it. e.g.: style="font: bold 16px/normal
//this assumes "bold" has spaces around it. e.g.: style="font: bold 16px/normal
...
...
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