Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ps.map and Linux

0 views
Skip to first unread message

Richard E Nairn

unread,
Mar 25, 1998, 3:00:00 AM3/25/98
to

Ok, on to the next problem... I am using ps.select and ps.map.. If I
don't have a ps painter set up it will use the normal 8.5 / 11
definition. and it will turn out fine... However if I use ps.select to
select another page size and run the same script, the raster image
will come out blank...

Does anyone else have this problem??? This happens if I compile it
myself, or if I use the binary compiled version from Markus Neteler.
--
Richard Nairn
Geological Survey of Canada
** Email r...@spans.gscc.nrcan.gc.ca **
** nai...@cadvision.com **

Richard E Nairn

unread,
Mar 27, 1998, 3:00:00 AM3/27/98
to

>
> Ok, on to the next problem... I am using ps.select and ps.map.. If I
> don't have a ps painter set up it will use the normal 8.5 / 11
> definition. and it will turn out fine... However if I use ps.select to
> select another page size and run the same script, the raster image
> will come out blank...
>
> Does anyone else have this problem??? This happens if I compile it
> myself, or if I use the binary compiled version from Markus Neteler.


Ok, after a little debugging, I found the problem with ps.map. The
C code that parses the device files is missing a header declaration,
so it produces garbage. It uses atof and atoi but it forgot to use
#include <stdlib.h> for the definitions. When i made the change it
works very nicely. The file involved was
src.alpha/ps.map/ps.map/read_cfg.c.

PS, I notified Markus so that he could patch the official sources.

0 new messages