diff options
author | saal | 2007-06-01 15:26:41 +0000 |
---|---|---|
committer | saal | 2007-06-01 15:26:41 +0000 |
commit | d7b36d91644341043fd4bede043305a7c0bcf61b (patch) | |
tree | ae42a8e6ada130342a084571b86908f7f29bfba1 /src/SVG/SVG2zinc/Conversions.pm | |
parent | e823bb99bc7f8a75fa743e8d263f76b6debe1de8 (diff) | |
download | mtc-d7b36d91644341043fd4bede043305a7c0bcf61b.zip mtc-d7b36d91644341043fd4bede043305a7c0bcf61b.tar.gz mtc-d7b36d91644341043fd4bede043305a7c0bcf61b.tar.bz2 mtc-d7b36d91644341043fd4bede043305a7c0bcf61b.tar.xz |
modification pour prise en compte du font-weight
Diffstat (limited to 'src/SVG/SVG2zinc/Conversions.pm')
-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); |