diff options
Diffstat (limited to 'src/SVG/SVG2zinc.pm')
-rw-r--r-- | src/SVG/SVG2zinc.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc.pm b/src/SVG/SVG2zinc.pm index fb82c2b..6c33b6f 100644 --- a/src/SVG/SVG2zinc.pm +++ b/src/SVG/SVG2zinc.pm @@ -1173,7 +1173,7 @@ my %save_current_context = (); { push (@ascent, "-> translate(\$previous, $text_x, $text_y);"); } - push (@ascent, "my \$ascent = -> fontMetrics (\$fonts{\"$current_font_key\"}, -ascent);"); + push (@ascent, "\$ascent = -> fontMetrics (\$fonts{\"$current_font_key\"}, -ascent);"); push (@ascent, "-> translate(\$previous,0, -\$ascent);"); &ddisplay ($res, @ascent, @transforms); |