I have a minor problem with the PostScript generated by R-0.63.1. Specifically, the files generated *will* work in: ghostview on an HP LaserJet on an Apple LaserWriter *will not* work in: ghostscript under xdvi on a SPARCprinter The error message on the SPARCprinter was Error: /invalidfont Command: 'definefont' Ostack: /Font5 /Font5 font(Symbol,1) Estack: [and quite a bit more ...] This was a picture with no Symbol font involved, so I was able to comment out the following line: %/Font5 /Symbol findfont definefont and then the PostScript worked under xdvi and on the SPARCprinter. Any ideas? A meta-question: should I submit this to the bug-tracking system 1) in addition 2) instead of sending to R-devel? It seems the bug-tracking system isn't heavily used, and that its value is proportional to how much it's used (otherwise you just have to search the R-devel and R-help archives). thanks, Ben Bolker Benjamin Bolker Dep't of Ecology and Evolutionary Biology, ben@eno.princeton.edu Princeton University tel: (609) 258-6886, fax: (609) 258-1334 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Ben Bolker <ben@eno.princeton.edu> writes:> A meta-question: should I submit this to the bug-tracking system 1) in > addition 2) instead of sending to R-devel? It seems the bug-tracking > system isn't heavily used, and that its value is proportional to how much > it's used (otherwise you just have to search the R-devel and R-help > archives).Well, the difference between R-bugs and R-devel is that bugs are remembered if entered into the former. Bugs on the mailing lists tend to get "now-or-never" service. Noone is going through months of mailing list traffic to check whether all reported problems have been fixed. I try to make mental notes of what I see, but my DRAM chips seems to need frequent refresh. I'm sure many of the others feel likewise. I do, however, take an occasional stroll through the bug repository and check for fixed bugs, sort the incoming ones, and sometimes also make a stab at analysing/fixing some of them. I'm currently looking at the R-bugs interface to see if it would be possible to redirect all traffic on R-bugs through R-devel (except "private" messages, which go to the core team only, of course). It's a little sticky, because it requires changes to the Jitterbug sources, but it doesn't look hopeless at all. That way, there would be no excuse for not using R-bugs, and R-devel may turn into a somewhat more constructive[*] forum than it is at the moment. The bug.report() function has also been substantially improved for 0.63.3, BTW. [*] I know, everyone in here is doing their best to chip in to the R development. The problem is rather the opposite: discussions tending to remain within the core team. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 01-Feb-99 Ben Bolker wrote:> > I have a minor problem with the PostScript generated by R-0.63.1. > Specifically, the files generated *will* work in: > > ghostview; on an HP LaserJet; on an Apple LaserWriter > > *will not* work in: > > ghostscript under xdvi; on a SPARCprinter > > The error message on the SPARCprinter was > > Error: /invalidfont > Command: 'definefont' > Ostack: /Font5 /Font5 font(Symbol,1) > Estack: > [and quite a bit more ...]This looks (especially since it sometimes works & sometimes doesn't) like a PostScript Level-1 vs Level-2 issue. definefont: key font definefont font ... In Level-2 it is permissible to associate a font dictionary with more than one key. If /font/ has already been registered, definefont does not alter it in any way (PostScript Language Ref Manual) The "invalidfont" error can arise "on discovering that a font dictionary is malformed". I don't know the details of R's PS implementation; however, if it is using definefont attempting to register more than one key for the Symbol font then that would be consistent with your results. Ghostscript and ghostview should both be able to handle Level-2; I'm not sure why ghostscript under xdvi should not be able to (unless xdvi somehow inhibits it). Apart from that, the observed behaviour is compatible with HPLJ and AppleLW being Level-2, while the SPARCprinter is Level-1. Good PostScript code tests the value of "languagelevel": OK if =2, else if =1 or if undefined in systemdict then Level-2 features may not work and alternative Level-1 code should be executed (and of course needs to be supplied in the file ... ). Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Date: 01-Feb-99 Time: 17:58:27 ------------------------------ XFMail ------------------------------ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._