aboutsummaryrefslogtreecommitdiff
path: root/src/SVG/SVG2zinc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SVG/SVG2zinc')
-rw-r--r--src/SVG/SVG2zinc/Conversions.pm4
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);