CLIM mail archive


Re: [spr7191] Postscript output in CLIM 1.1 (under Allegro 4.1)

Your problem report has been assigned a tracking id of spr7191.
Please use this id in the subject line of any mail related to
it so that we may better track communication on your inquiry.
Also, please address mail to as well as me,
so your questions can be answered if I am unavailable.

  Date: Thu, 10 Dec 92 18:27 MET
  From: (Simon Leinen)

  Lines drawn to a POSTSCRIPT-STREAM using :LINE-UNIT :POINT result in
  erroneous PostScript (see below).

  With kind regards,
  Simon Leinen.
  Laboratoire d'Intelligence Artificielle
  Ecole Polytechnique Federale de Lausanne

Hello Simon,

The problem appears to be a bug in how the postcript port handles the
:LINE-UNIT option. It is erroneously expecting :LINE-UNIT to be one of
:NORMAL and :POINTS (pluaral) and if it is neither it is falling
through a case giving NIL as the line width to setlinewidth

A simple workaround is to give a :LINE-UNIT of :POINTS rather than
:POINT though I can understand that this is not very satisfactory if
you want to use the same drawing function for both screen output and
postcript output.

If this is the case then please let me know and I will make up a patch
for this.

Colin Meldrum, Franz Inc.	1995 University Avenue, Suite 275         
colin@Franz.COM (internet)	Berkeley, CA 94704                       
uunet!franz!colin (uucp)	Phone: (510) 548-3600; FAX: (510) 548-8253


Main Index | Thread Index