aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorribet2007-10-19 12:34:51 +0000
committerribet2007-10-19 12:34:51 +0000
commit56ace5bcfdcf422b6b2e179c0c173be3efd1c0a3 (patch)
tree6143067a717cc468221b6295eb6c3ae50c4c4322
parent42923b2543aa1681c7bddf4842588e881ce76103 (diff)
downloadmtc-56ace5bcfdcf422b6b2e179c0c173be3efd1c0a3.zip
mtc-56ace5bcfdcf422b6b2e179c0c173be3efd1c0a3.tar.gz
mtc-56ace5bcfdcf422b6b2e179c0c173be3efd1c0a3.tar.bz2
mtc-56ace5bcfdcf422b6b2e179c0c173be3efd1c0a3.tar.xz
Good fix for XLFD font position. Release 1.5.1 is ready.
-rw-r--r--debian/changelog7
-rw-r--r--src/SVG/SVG2zinc.pm2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 07b5b6b..fd9ee0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mtools-perl (1.5.1-1) unstable; urgency=low
+ * Amélioration du positionnement des fontes XLFD
+ * Amélioration de la prise en compte des fontes XLFD
+ * L'antirecouvrement de plante plus si l'objet est invisible
+
+ -- Philippe Ribet <ribet@cena.fr> Fri, 19 Oct 2007 8:32:00 +0200
+
mtools-perl (1.5-1) unstable; urgency=low
* Prise en charge des noms XLFD.
* Correction d'un bug concerant les images avec de la transparence dans un svg
diff --git a/src/SVG/SVG2zinc.pm b/src/SVG/SVG2zinc.pm
index 75e1429..d1e3235 100644
--- a/src/SVG/SVG2zinc.pm
+++ b/src/SVG/SVG2zinc.pm
@@ -1167,7 +1167,7 @@ my %save_current_context = ();
if ($current_font_key =~ /^XLFD/) {
my $fontname = $current_font_key;
$fontname =~ s/^XLFD//;
- push (@ascent, "\$ascent = int(\`xlsfonts -l -fn '$fontname' |tail -1|cut -c 31-33\`);");
+ push (@ascent, "\$ascent = -> fontMetrics ('$fontname', -ascent);");
} else {
push (@ascent, "\$ascent = -> fontMetrics (\$fonts{\"$current_font_key\"}, -ascent);");
}