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

Hendrik Rittich hendrik.rittich at gmx.de
Fri May 31 16:19:10 UTC 2013


Hi,

Am Freitag, den 31.05.2013, 08:45 -0400 schrieb Mike Miller:
> This looks like the right behavior for any font name that doesn't
> exist on the system, whether it's "{}" or "MyFavoriteFont".

well. I do not know weather or not the PostScript specification requests
that a fall back font is used when the font is not available. In case it
does not, it would be a permitted response to reject the EPS as invalid.

However since the author(s) of Ghostscript choose to use a fall back
font there is definitely a Bug in Ghostscript. Since the existents of
the pagul font disables this behavior. 

> This is why I filed #662892 against ghostscript rather than octave or
> gnuplot. Some combination of ghostscript and the Pagul font is causing
> an error in the ghostscript routine that looks up TrueType fonts by
> name.

That is only the place where the two errors become visible. The other
error is in Octave IMHO, since it also should not set an invalid font as
default. If it is allowed by the PostScript specification it would still
be not a good programming style.

Kind regards,

Hendrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20130531/59105f72/attachment.pgp>


More information about the Pkg-octave-devel mailing list