summaryrefslogtreecommitdiff
path: root/graphics/asymptote/picture.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-06-23 03:02:33 +0000
committerNorbert Preining <norbert@preining.info>2024-06-23 03:02:33 +0000
commit6abdc79a45a3d88a2e0a33a28a364efdb1f597c5 (patch)
tree4d5737dc0a85ac1c0845b76a7900d7bb5a2f2d3d /graphics/asymptote/picture.cc
parent4012cf5682cd4d2571914ef5de72cf8b933b4b0f (diff)
CTAN sync 202406230302
Diffstat (limited to 'graphics/asymptote/picture.cc')
-rw-r--r--graphics/asymptote/picture.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/asymptote/picture.cc b/graphics/asymptote/picture.cc
index 8f67201fb3..8ea6e3bf86 100644
--- a/graphics/asymptote/picture.cc
+++ b/graphics/asymptote/picture.cc
@@ -853,7 +853,10 @@ bool picture::postprocess(const string& prename, const string& outname,
double expand=antialias;
if(expand < 2.0) expand=1.0;
res *= expand;
- cmd.push_back(getSetting<string>("convert"));
+ string s=getSetting<string>("convert");
+ cmd.push_back(s);
+ if(s != "convert")
+ cmd.push_back("convert");
cmd.push_back("-density");
cmd.push_back(String(res)+"x"+String(res));
if(expand == 1.0)