[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, 01 Mar 2015 16:00:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #11, bug #37053 (project octave):
In comment #10, there is a typo. The output format from pstoedit should be
'-f fig' rather than '-f fix'.
I can now print a file with the .emf extension, but the resulting file won't
load in an EMF viewer (But, it is not 0 bytes).
If I go through the individual steps I get working files along the way until
the conversion from .fig format to .emf format.
In Octave,
plot (1:10)
print -depsc tst1.ps
On command line
c:\Octave\Octave-3.9.1+\bin\pstoedit.exe -f fig tst1.ps > tst1.fig
c:\Octave\Octave-3.9.1+\bin\fig2dev.exe -L emf tst1.fig > tst1.emf
Interestingly, I can take the individual files over to Linux and they are
correct. tst1.ps displays correctly. xfig shows a rendering of the fig,
altough the background is wrong. Finally, if I use fig2dev to convert
tst1.fig to a different format, including emf, the resulting file is fine. I
think there must be something wrong with fig2dev.exe on the Windows side.
I tried using fig2dev.exe on Windows to convert to other formats and at first
it fails because there is no 'gs.exe' in the path. I added
'C:\octave\octave-3.9.1+\bin' to the path and now the command will complete,
but none of the outputs are any good.
It's probably not worth figuring this out before the 4.0 release this is a
seldom used format.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37053>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37053] Saveas & Print error when saving as .emf,
Rik <=