Mercurial > octave
changeset 24221:ac080874d3b9
Fix unintended addition in previous "fix"
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Thu, 09 Nov 2017 10:05:25 +0100 |
parents | 2b7532f237d7 |
children | 7d1561c9ee48 |
files | scripts/plot/util/private/__ghostscript__.m scripts/plot/util/private/__opengl_print__.m |
diffstat | 2 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__ghostscript__.m Thu Nov 09 09:58:33 2017 +0100 +++ b/scripts/plot/util/private/__ghostscript__.m Thu Nov 09 10:05:25 2017 +0100 @@ -113,7 +113,6 @@ ## "pageoffset" is relative to the coordinates, not the BBox LLHC. str = sprintf ("%s [%d %d] %s", "<< /Margins [0 0] /.HWMargins [0 0 0 0] /PageOffset", fix (opts.pageoffset), ">> setpagedevice"); - str offset_ps = {"%!PS-Adobe-3.0", str, "%%EOF"}; if (isfield (opts, "offsetfile")) offsetfile = opts.offsetfile;
--- a/scripts/plot/util/private/__opengl_print__.m Thu Nov 09 09:58:33 2017 +0100 +++ b/scripts/plot/util/private/__opengl_print__.m Thu Nov 09 10:05:25 2017 +0100 @@ -155,8 +155,6 @@ if (strcmp (get (opts.figure, "visible"), "on")) ## Use toolkits "print_figure" method - disp (gl2ps_device{n}) - disp (pipeline{n}) drawnow (gl2ps_device{n}, ['|' pipeline{n}]); else ## Use OpenGL offscreen rendering with OSMesa