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

[Pkg-octave-devel] Bug#710272: Bug#710272: octave: Printing gives a Ghostscript error



Hi,

I tried to reproduce the error on another Debian testing machine, but I
was not able to do so. At the moment I do not have access to the machine
with the error. However I will test tomorrow if setting the default font
fixes the problem.

From what I remember: A postscript file is generated that can not be
viewed in Evince, Okular oder Ghostscript. When opening with Ghostscript
I got the error that it could not find the font file

  /usr/share/ghostscript/9.05/Resource/Font/{}

Thus this sounds pretty much like what is described in your reference
[1].

Kind Regards,

Hendrik

Am Mittwoch, den 29.05.2013, 23:01 -0400 schrieb Mike Miller:
> On Wed, May 29, 2013 at 10:20 AM, Sébastien Villemot wrote:
> >
> > Le mercredi 29 mai 2013 à 15:44 +0200, Hendrik Rittich a écrit :
> >
> >> The following code should reproduce the error:
> >>
> >> octave:1> x = linspace(0, 10);
> >> octave:2> plot(x, sin(x));
> >> octave:3> print -dps2 plot.ps
> >> GPL Ghostscript 9.05: Unrecoverable error, exit code 1
> >
> > Running these 3 lines on an up-to-date unstable/sid machine, I get no
> > error, and the PostScript file is created.
> 
> Same here. However, I have gotten this error before [1], and I was
> just able to make it happen again, simply by installing certain fonts
> on the system (apt-get install fonts-pagul).
> 
> Henrik, do you still get the same Ghostscript error if you execute the
> following before plotting and printing?
> 
>   octave:1> set (0, "defaultaxesfontname", "Helvetica")
> 
> If that fixes it, then see #662892, you may be seeing the same or a related bug.
> 
> [1] http://octave.1599824.n4.nabble.com/3-6-1-produces-eps-files-that-are-unusable-on-Debian-wheezy-td4438420.html
> 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: