clewis@ferret.ocunix.on.ca (Chris Lewis) (02/05/91)
One of the people using psroff is using X11 pageview to view the Postscript that psroff generates, and is encountering a problem which someone may be able to solve. Namely, each page overlaps rather than replaces the previous page. (eg: no erase is occuring of the previous page) Psroff generates Adobe 1.0 conformant format files, which have prologs, "%%Page:"'s and "%%Trailer:". The postscript isn't particularly complicated. Pages look something like: %%Page: ? 1 (string) x-value y-value Y (string) x-value X ShowPage Y and X are routines that place the string at the coordinates specified by the x-value and y-value numeric constants (X uses the previous y coordinate). ShowPage consists of just "showpage" plus an increment of a page counter. Replacing the ShowPage with showpage doesn't appear to solve the problem. There are occasional font definitions using another function I've defined in the prolog. (the font definition function is fairly complicated because I'm trying to cache definitions, rather than findfont/scalefont/setfont invocations each time) Does anybody know why pageview could be doing this? Any suggestions that might solve the problem? Thanks,