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
bb7dbb9c
"vscode:/vscode.git/clone" did not exist on "4d4acd6eb1030a8baae35f894e2f3f6c466374d1"
Commit
bb7dbb9c
authored
Sep 30, 2014
by
Markus Mayer
Browse files
fixed invalid font size unit comparison
parent
5bd751c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/SvgElementStyle.cs
View file @
bb7dbb9c
...
@@ -309,7 +309,7 @@ namespace Svg
...
@@ -309,7 +309,7 @@ namespace Svg
// Get the font-size
// Get the font-size
float
fontSize
;
float
fontSize
;
var
fontSizeUnit
=
this
.
FontSize
;
var
fontSizeUnit
=
this
.
FontSize
;
if
(
fontSizeUnit
==
SvgUnit
.
None
)
if
(
fontSizeUnit
==
SvgUnit
.
None
||
fontSizeUnit
==
SvgUnit
.
Empty
)
{
{
fontSize
=
1.0f
;
fontSize
=
1.0f
;
}
}
...
...
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