On Thu, Nov 19, 2009 at 6:30 PM, Ted Harding
<ted.hard...@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

______________________________________________
R-help@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.

Reply via email to