diff options
Diffstat (limited to 'src/SVG/SVG2zinc')
-rw-r--r-- | src/SVG/SVG2zinc/Conversions.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc/Conversions.pm b/src/SVG/SVG2zinc/Conversions.pm index 9a8ccb9..3e18d3f 100644 --- a/src/SVG/SVG2zinc/Conversions.pm +++ b/src/SVG/SVG2zinc/Conversions.pm @@ -137,7 +137,9 @@ sub createNamedFont { } else { - $weight = "medium"; + if ($weight eq '') { + $weight = "medium"; + } } my $fontKey = join "_", ($family, $size, $weight); |