diff --git a/Source/SvgElementStyle.cs b/Source/SvgElementStyle.cs index 51c937963d65e69205f389e6a9e6105138601fdc..7e681341ea5f04cbce8d7560f46c01f7d9b773c6 100644 --- a/Source/SvgElementStyle.cs +++ b/Source/SvgElementStyle.cs @@ -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; }