[R] embedding fonts in eps files

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jan 18 11:59:08 CET 2005


On Tue, 18 Jan 2005, Rudi Alberts wrote:

> I have to make eps files with fonts embedded.
> I use the following postscript command:
>
> postscript("fig3a.eps", width = 5.2756, height = 7.27, pointsize =
> 7,horizontal = FALSE, onefile = FALSE, paper = "special",family =
> "Times")
>
> plot(...)
>
> dev.off()
>
> Are fonts automatically embedded in this way?
>
> How can I see that?
> If not, how to do it?

Let me read to you the help page:

      The software including the PostScript plot file should either embed
      the font outlines (usually from '.pfb' or '.pfa' files) or use DSC
      comments to instruct the print spooler to do so.

In the case of the Times family, all PostScript interpreters should have 
access to the fonts, but the DSC comments will list them to ensure this.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list