[R] eps file with embedded font

Simone Gabbriellini simone.gabbriellini at gmail.com
Fri Sep 4 16:01:44 CEST 2009


Dear list,

I am trying to make eps file with embedded font.

I use:

postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE,
paper="special", height=8, width=12, family="Helvetica")
# plot stuff
dev.off()

since R does not embed font, I then use:

embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
fontpaths="System/Library/Fonts")

the problem is that the second file, with font embedded, is cutted
near the end, and the very last part of the plots and the border are
off the page...

I use R 2.8.1 on a Mac OSX

any help more than welcome,

regards,
Simone




More information about the R-help mailing list