Re: [R] postscript

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Thu, 29 May 2008 17:57:10 +0200

Note that ?postscript tells you:
"Note that R does not embed the font(s) used in the PostScript output: see ?embedFonts for a utility to help do so." It makes really sense to read both of these help pages.

Uwe Ligges

Antonio.Gasparrini_at_lshtm.ac.uk wrote:
> Hello,
>
> I'm trying to save a graph as a .ps file to include it in a LaTex
> presentation, but R replies:
>
> Error: Invalid font type
> In addition: Warning messages:
> 1: font family not found in PostScript font database
> 2: font family not found in PostScript font database
>
> If I load the package grDevices and type "postscript()" then I can save
> it, but it creates also a text file saying:
>
> %%[ Warning: Helvetica not found, using Font Substitution. Font cannot
> be embedded.]%%
> %%[ Warning: Helvetica-Bold not found, using Font Substitution. Font
> cannot be embedded.]%%
>
> If I open it, I can see that it has changed the font, and often the
> text doesn't match the boundaries.
>
> Can you help me?
> Thanks a lot
>
> Antonio Gasparrini
> Public and Environmental Health Research Unit (PEHRU)
> London School of Hygiene & Tropical Medicine
> Keppel Street, London WC1E 7HT, UK
> Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523
> http://www.lshtm.ac.uk/people/gasparrini.antonio (
> http://www.lshtm.ac.uk/pehru/ )
>
> ______________________________________________
> 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.



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 Thu 29 May 2008 - 16:46:10 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 Thu 29 May 2008 - 17:30:45 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