[Top][All Lists]

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

[Octave-bug-tracker] [bug #37053] Saveas & Print error when saving as .e

From: Rik
Subject: [Octave-bug-tracker] [bug #37053] Saveas & Print error when saving as .emf
Date: Sun, 15 Feb 2015 00:12:22 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #6, bug #37053 (project octave):

This bug is fairly complicated, and not worth resolving for the 4.0 release.

The first problem is that pstoedit, the first command in a pipeline chain,
fails to run with 

*** Couldn't reserve space for cygwin's heap, Win32 error 6

Searching the web this seems to be because the base library file msys-1.0.dll
was not compiled to be position independent.  I downloaded a rebase.exe
utility and executed 

cd C:\Octave\Octave-3.9.1+\bin>
rebase -b 0x30000000 msys-1.0.dll 

This allows the pstoedit command to run.  When I do

pstoedit.exe -f fix tst.ps > tst.fig

the command apparently succeeds.  But if you look at the file it actually
contains an error message.  The error message says the fig file format is not
supported.  In fact, the range of file formats is incredibly small.

Unsupported output format fig
Available formats :
        psf:                    .fps:   Flattened PostScript (no curves)        
        ps:                     .spsc:  Simplified PostScript with curves       
        debug:                  .dbg:   for test purposes       (built-in)
        dump:                   .dbg:   for test purposes (same as debug)       
        gs:                     .gs:    any device that GhostScript provides - 
use gs:format, e.g.
gs:pdfwrite     (built-in)
        ps2ai:                  .ai:    Adobe Illustrator via ps2ai.ps of 
GhostScript   (built-in)

On linux, using pstoedit -help I and extracting the reference to fig

       plot-fig:               .fig:   fig  via GNU libplot   
This driver supports the following additional options: (specify using -f
"format:-option1 -option2")
[          plotformat    : string        : plotutil format to generate]

This seems to difficult, and too inconsequential, to solve for the 4.0

However, if we get around to it it seems that we need to compile msys with a
position independent flag and then we needto check about adding libplot
support to MXE Octave.  I've added John D. to the CC list just so he knows
about this issue.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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