aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SVG/SVG2zinc.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SVG/SVG2zinc.pm b/src/SVG/SVG2zinc.pm
index f344b96..31e4559 100644
--- a/src/SVG/SVG2zinc.pm
+++ b/src/SVG/SVG2zinc.pm
@@ -543,7 +543,7 @@ sub use {
{
push @transforms, "-> translate ($name, $x,$y);";
}
- &display ($res,@transforms);
+ &ddisplay ($res,@transforms);
}
{ ## start of defs block to share $res and other variables between many functions
@@ -1837,7 +1837,7 @@ sub analyze_text_style_hash
{
## to be extended to all other fonts definition parameters
## NB: fontWeight is not used yet!
- my ($fontKey,$code) = &createNamedFont ($fontFamily, $fontSize, "");
+ my ($fontKey,$code) = &createNamedFont ($fontFamily, $fontSize, $fontWeight);
&display("\$fonts{\"$fontKey\"} = ") if $code;
&display($code) if $code;
$res .= ", -font => \"$fontKey\"";