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

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



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

-- 
mike



Reply to: