Commit d15e5419 authored by Tebjan Halm's avatar Tebjan Halm
Browse files

Merge pull request #101 from sunsided/feature/font-size-comparison

fixed invalid font size unit comparison
parents 5bd751c6 bb7dbb9c
......@@ -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;
}
......
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