octave-maintainers
[Top][All Lists]
Advanced

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

Re: 3.6.1 produces eps files that are unusable on Debian wheezy


From: Dmitri A. Sergatskov
Subject: Re: 3.6.1 produces eps files that are unusable on Debian wheezy
Date: Sat, 3 Mar 2012 14:05:52 -0600

On Sat, Mar 3, 2012 at 1:41 PM, Mike Miller <address@hidden> wrote:

>
> set xtics border in scale  1.4 mirror  font "{},20";
> set ytics border in scale  1.4 mirror  font "{},20";
> set ztics border in scale  1.4 mirror  font "{},20";
> gnuplot 4.4 patchlevel 0
>
> --
> mike

I am not Dan, but this is how it looks on Fedora 16
(with selfcompiled octave and gnuplot):

octave:1> gplotcmp
set xtics border in scale  1.4 mirror  font "{},20";
set ytics border in scale  1.4 mirror  font "{},20";
set ztics border in scale  1.4 mirror  font "{},20";
gnuplot 4.5 patchlevel 0
octave:2> print("miketest.eps")

So now if I run gs 9.04:

gs -sDEVICE=x11 miketest.eps
GPL Ghostscript 9.04 (2011-08-05)
Copyright (C) 2011 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file
/usr/share/ghostscript/9.04/Resource/Font/StandardSymL.
Can't find (or can't open) font file StandardSymL.
Can't find (or can't open) font file
/usr/share/ghostscript/9.04/Resource/Font/StandardSymL.
Can't find (or can't open) font file StandardSymL.
Querying operating system for font files...
Loading StandardSymL font from
/usr/share/fonts/default/Type1/s050000l.pfb... 4065536 2745164 7891688
3779413 2 done.
Loading NimbusSanL-Regu font from
/usr/share/fonts/default/Type1/n019003l.pfb... 4209192 2800915 7891688
3469507 2 done.
Can't find (or can't open) font file
/usr/share/ghostscript/9.04/Resource/Font/{}.
Can't find (or can't open) font file {}.
Didn't find this font on the system!
Substituting font Courier for {}.
Loading NimbusMonL-Regu font from
/usr/share/fonts/default/Type1/n022003l.pfb... 4353056 2945640 7891688
3503298 2 done.
>>showpage, press <return> to continue<<

And it display the picture just fine.

So from one hand perhaps it is not a good idea to write postscript file
with the fonts named "{}", but from the other hand I am not convinced that
resulting postscript is "illegal". What if you asked for the font that just not
available on your system?

But I do think that octave should setup some reasonable default.
May be it is up to binary packages maintainers to choose which one.

Dmitri.
--


reply via email to

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