Re: [R] R 2.70 + ps2pdf14

From: ivo welch <ivowel_at_gmail.com>
Date: Sun, 18 May 2008 10:09:10 -0400

thanks, berwin. yes, I meant ghostscript 8.62, of course. ps2pdf14 is the equivalent of a distiller and is needed to embed fonts. (R does not embed fonts itself afaik.) if someone knows another way to embed all the fonts, I would love to know so that I can avoid ps2pdf14 altogether (not just in this example, but generally; I use lucida fonts most of the time).

if developers from the R graphics group are reading this, given that this strange output is not just my imagination, maybe it would be worthwhile to see if the R output pdf could be made more robust to avoid this "feature." I stumbled onto it deep in a program, and spend an afternoon distilling it down to the R script that I posted. It was quite puzzling.

PS: semicolons are a hobby, and one explicitly allowed by R. ;-).

regards,

/ivo

On Sun, May 18, 2008 at 4:18 AM, Berwin A Turlach <berwin_at_maths.uwa.edu.au> wrote:
> G'day Ivo,
>
> On Sat, 17 May 2008 21:33:35 -0400
> "ivo welch" <ivowel_at_gmail.com> wrote:
>
>> dear R graphics experts---
>
> Not belonging to this group, but can confirm that I can see the same,
> in particular the circles are changing their size.
>
> However, I am a bit surprised that you run ps2pdf14 on a PDF file,
> according to the documentation the input should be a (E)PS file.
>
>> if anyone is running the combination of R 2.7.0 and ghostscript
>> (2.62),
>
> and I guess you mean ghostscript 8.62? Ghostscript 2.62 would be
> really ancient, probably from before the time that PDF was created... :)
>
>> could you please run the following
>
> I will also leave it to somebody else on the list, specifically to
> people who find such coding particularly ugly if not offensive, to point
> out that semicolons are not needed at the end of lines of R scripts. :)
>
> HTH.
>
> Cheers,
>
> Berwin
>
> =========================== Full address =============================
> Berwin A Turlach Tel.: +65 6515 4416 (secr)
> Dept of Statistics and Applied Probability +65 6515 6650 (self)
> Faculty of Science FAX : +65 6872 3919
> National University of Singapore
> 6 Science Drive 2, Blk S16, Level 7 e-mail: statba_at_nus.edu.sg
> Singapore 117546 http://www.stat.nus.edu.sg/~statba
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 18 May 2008 - 14:15:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 18 May 2008 - 18:30:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive