[R] How to enable Arial font for postcript/pdf figure on Windows?

antagomir leo.lahti at iki.fi
Tue Mar 27 10:52:32 CEST 2012


Hi Agnes and Camille (and help-list),

In Ubuntu 11.10 I needed to use su permissions to copy and gzip the *.afm
files manually into "/usr/lib/R/library/grDevices/afm/" to get the Arial
embedding to work in R for postscript. 

Ie. after following the instructions by Agnes and Camille, I did 
  sudo cp arial*.afm /usr/lib/R/library/grDevices/afm/
  gzip /usr/lib/R/library/grDevices/afm/arial*.afm

Then the postscript toy example in this thread worked.

Leo

--
View this message in context: http://r.789695.n4.nabble.com/How-to-enable-Arial-font-for-postcript-pdf-figure-on-Windows-tp3017809p4508266.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list