[R] [Follow-up] Re: PLoS, Arial, R & linux
Deepayan Sarkar
deepayan.sarkar at gmail.com
Thu Nov 19 14:37:18 CET 2009
On Thu, Nov 19, 2009 at 6:30 PM, Ted Harding
<Ted.Harding at manchester.ac.uk> wrote:
> See Addendum at end.
[...]
> Addendum:
>
> Well, the fonts were installed as above, indeed. However, according
> to the PLoS Guidelines one must generate .afm files before using
> them in R, along the lines of:
>
> First, convert the Arial .ttf files to afm:
A glance through ?postscript suggests other options, the simplest being
cairo_ps()
par(family = "Arial") # or par(family = "Andale mono") to be really
sure this works
plot(1:10)
dev.off()
?postscript also says:
More details of font families and encodings and especially
handling text in a non-Latin-1 encoding and embedding fonts can be
found in
Paul Murrell and Brian Ripley (2006) Non-standard fonts in
PostScript and PDF graphics. _R News_, 6(2):41-47. <URL:
http://cran.r-project.org/doc/Rnews/Rnews_2006-2.pdf>.
which sounds like something you should read.
-Deepayan
More information about the R-help
mailing list