Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
d15e5419
Commit
d15e5419
authored
10 years ago
by
Tebjan Halm
Browse files
Options
Download
Plain Diff
Merge pull request #101 from sunsided/feature/font-size-comparison
fixed invalid font size unit comparison
parents
5bd751c6
bb7dbb9c
master
netstandard2
nuget2.4.2
nuget2.4.1
nuget2.4
nuget2.3
nuget2.2.2
nuget2.2.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/SvgElementStyle.cs
+1
-1
Source/SvgElementStyle.cs
with
1 addition
and
1 deletion
+1
-1
Source/SvgElementStyle.cs
+
1
-
1
View file @
d15e5419
...
...
@@ -309,7 +309,7 @@ namespace Svg
// Get the font-size
float
fontSize
;
var
fontSizeUnit
=
this
.
FontSize
;
if
(
fontSizeUnit
==
SvgUnit
.
None
)
if
(
fontSizeUnit
==
SvgUnit
.
None
||
fontSizeUnit
==
SvgUnit
.
Empty
)
{
fontSize
=
1.0f
;
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help