dump-asy: start gv without widgets and fit the drawing to window

This commit is contained in:
Michael Stapelberg 2012-11-23 20:29:08 +01:00
parent 23f00ee7d1
commit 0560fc7964
1 changed files with 1 additions and 1 deletions

View File

@ -42,4 +42,4 @@ say $tmp "draw(n" . $tree->{id} . ", (0, 0));";
close($tmp); close($tmp);
my $rep = "$tmp"; my $rep = "$tmp";
$rep =~ s/asy$/eps/; $rep =~ s/asy$/eps/;
system("cd /tmp && asy $tmp && gv $rep && rm $rep"); system("cd /tmp && asy $tmp && gv --scale=-1000 --noresize --widgetless $rep && rm $rep");