aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsaal2007-06-01 15:26:41 +0000
committersaal2007-06-01 15:26:41 +0000
commitd7b36d91644341043fd4bede043305a7c0bcf61b (patch)
treeae42a8e6ada130342a084571b86908f7f29bfba1 /src
parente823bb99bc7f8a75fa743e8d263f76b6debe1de8 (diff)
downloadmtc-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')
-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);