[Rd] Multiple pages with postscript() (PR#635)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
16 Aug 2000 11:15:43 +0200


Duncan Temple Lang <duncan@research.bell-labs.com> writes:

> diff -r1.28 devPS.c
> 1033c1033
> <     if (pd->lty != newlty || pd->lwd != newlwd) {
> ---
> >     if (pd->lty != newlty || pd->lwd != newlwd || 1) {  
> 
> In other words, change the if() condition in the routine SetLineStyle()
> in the file src/main/devPS.c to be true, regardless of whether the
> values are the same or not. This appears to give the desired result.
> 
> Hopefully we will determine the appropriate reset configuration
> as page changes occur. Anyone.... ?

Probably the code for "new page" needs to invalidate current status
(pd->xxx) of several items, or at least record the actual status. For
fonts we had a similar problem when the clipping changed (which got
fixed by setting it to -1), and I wouldn't be surprised if clipping
also could do strange stuff to the line widths. With a bit of luck, we
could in the same operation squash the "undefined in /bg" problem that
affects the PS output from "make check". Anyone...?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._