octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55723] Printing to .eps doesn't work


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55723] Printing to .eps doesn't work
Date: Sat, 16 Feb 2019 15:18:14 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

URL:
  <https://savannah.gnu.org/bugs/?55723>

                 Summary: Printing to .eps doesn't work
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Sat 16 Feb 2019 08:18:12 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.91
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following code doesn't produce any file with Octave 5.0.91:

plot ([0 1]);
print -deps test.eps


With Octave 4.4.1 this was working.

Stripping the "quiet" commands from the pipeline produced in print, I see the
following:

>> plot([0 1]);
>> tmpfile = [tempname() ".eps"];
>> pipeline2 = [OCTAVE_HOME '\bin\gs.exe -dNOPAUSE -dBATCH -dSAFER
-dAutoRotatePages=/None -sDEVICE=eps2write -sOutputFile="' tmpfile '" - '
tmpfile ' & '
 OCTAVE_HOME '\bin\epstool.exe --copy --bbox ' tmpfile ' ''test.eps'''];
>> drawnow ('eps', ['|' pipeline2]);
GPL Ghostscript 9.16 (2015-03-30)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSan-Reg font from %rom%Resource/Font/NimbusSan-Reg... 4261748
2704464 2196304 875951 2 done.

DSC Information
At line 1281:
   h6m5 W;l4?rz/cpݿS3x[V߅j_~Vâj:address@hidden@z<.<0?[(!k1[EL
FsQZ    b !

Lines in DSC documents must be shorter than 255 characters.

"gswin32c.exe"  -dNOPAUSE -dBATCH -sDEVICE=bbox   -c "<</PageSize [9400 9400]
/PageOffset [3000 3000]>> setpagedevice" -f "c:\users\markus\appdata\local\te
mp\gsviewa04964"
Ghostscript failed to obtain bounding box
Failed
>>


In Octave 4.4.1 the pipeline sent to drawnow was different:

C:\Octave\OCTAVE~1.1\bin\gs.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER
-dAutoRotatePages=/None -sDEVIC
E=eps2write -sOutputFile=""test.eps"" -


Maybe related to bug #48689.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55723>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]