Re: [Rd] incorrect linetype with pdf device (PR#14128)

From: baptiste auguie <baptiste.auguie_at_googlemail.com>
Date: Sat, 19 Dec 2009 10:12:02 +0100

Dear all,

Running this minimal example,

library(grid)
postscript("test-123456.eps")
grid.newpage()
grid.lines(gp=gpar(lty="123456", lineend = "butt")) dev.off()

produces eps output with the following setdash description towards the end of the file,

## [ 0.00 3.00 2.00 5.00 4.00 7.00] 0 setdash

I consulted the postscript reference manual (page 667 *), which indicates that the array should rather be [1 2 3 4 5 6] as intended
(and as produced by, e.g., quartz())

(*): http://www.adobe.com/products/postscript/pdfs/PLRM.pdf

Regards,

baptiste



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 19 Dec 2009 - 09:16:54 GMT

This archive was generated by hypermail 2.2.0 : Sat 19 Dec 2009 - 15:11:09 GMT