diff options
author | saal | 2007-06-01 15:27:55 +0000 |
---|---|---|
committer | saal | 2007-06-01 15:27:55 +0000 |
commit | 1a38bcb3e8464d440f42341d3e67c2691ac44421 (patch) | |
tree | da0741163b2019dca6744fcbcf58f7aa9c3e6d48 /src/SVG/SVG2zinc.pm | |
parent | d7b36d91644341043fd4bede043305a7c0bcf61b (diff) | |
download | mtc-1a38bcb3e8464d440f42341d3e67c2691ac44421.zip mtc-1a38bcb3e8464d440f42341d3e67c2691ac44421.tar.gz mtc-1a38bcb3e8464d440f42341d3e67c2691ac44421.tar.bz2 mtc-1a38bcb3e8464d440f42341d3e67c2691ac44421.tar.xz |
modification pour prise en compte du font-weight
+ modification de la methode use pour ecriture différée dans le fichier généré lors du parsing svg
Diffstat (limited to 'src/SVG/SVG2zinc.pm')
-rw-r--r-- | src/SVG/SVG2zinc.pm | 4 |
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\""; |