diff scripts/plot/util/print.m @ 27345:493922902ae9 stable

print.m: Pass quoted path to octave-svgconvert (bug #56768) * print.m (svgconvert): Quote the path to the output file.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Tue, 20 Aug 2019 15:53:04 +0200
parents 119353eb6b38
children 1807acfe2150 44a019d01aa5
line wrap: on
line diff
--- a/scripts/plot/util/print.m	Wed Aug 07 14:05:41 2019 -0700
+++ b/scripts/plot/util/print.m	Tue Aug 20 15:53:04 2019 +0200
@@ -1071,7 +1071,7 @@
       fontdir = __octave_config_info__ ("octfontsdir");
     endif
 
-    cmd = sprintf ("%s - %%s %3.2f %s %d %%s", opts.svgconvert_binary, ...
+    cmd = sprintf ("%s - %%s %3.2f %s %d \"%%s\"", opts.svgconvert_binary, ...
                    get (0, "screenpixelsperinch"), ...
                    fullfile (fontdir, "FreeSans.otf"), 1);