Mercurial > octave
changeset 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 | 640ee0d531d0 |
children | 1807acfe2150 f724ef9124fc |
files | scripts/plot/util/print.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);