XForms: fl_object_ps_dump()

Robert S. Mallozzi (mallors@crazyhorse.msfc.nasa.gov)
Mon, 15 Sep 1997 14:34:17 -0500 (CDT)

To subscribers of the xforms list from "Robert S. Mallozzi" <mallors@crazyhorse.msfc.nasa.gov> :

I just tried the new fl_object_ps_dump(). It is a great new
feature, but there seem to be some problems.

1. If I use FL_WHITE for the xyplot foreground color, nothing is visible
in the PS file. For the xyplot object, use

fl_set_object_color(obj, FL_BLACK, FL_WHITE);

and then the pen color in the PS file is white, and the background is
also white. Even if one sets FLPS_COLOR, the background seems always
to be set to white, which is (probably) OK, so I guess there should
be a check to see if the foreground is white, and if so, set it to
black?

2. I tried to plot a dataset of over 4000 points (dataset was 4067),
and it appears in the xyplot just fine, fl_object_ps_dump() calls
OK, but I get the following error if I try to view the PS file
(with ghostview or gv):

Error: /stackoverflow in -file-
Operand stack:
--nostringval--
Execution stack:
%interp_exit --nostringval-- --nostringval-- --nostringval-- false --nostringval-- --nostringval--
Dictionary stack:
--dict:597/631-- --dict:0/20-- --dict:65/200--
Current allocation mode is local
Aladdin Ghostscript: Unrecoverable error, exit code 1

-bob

-- 
Dr. Robert S. Mallozzi
University of Alabama in Huntsville
http://cspar.uah.edu/~mallozzir/

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/