[R] legends and fonts

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Jan 26 08:23:48 CET 2001

On Fri, 26 Jan 2001, Alistair Merrifield wrote:

> 2)	Whilst I am at it, I wonder if anyone has created any additional
> fonts for graphics in R? I have been using the "postscript" command to
> produce graphs. The range of fonts are fine by me, but the "powers that be"
> expressed an interest in using Verdana font (a Windows true type font). I
> have used the Helvetica font which is close enough for me (and them), but I
> was curious as to any other fonts (in particular Verdana) that are
> available.

Well, you can only use postscript fonts in postscript().  But as the help
page says, you can use any postscript font family for which you have the
font metric files and downloadable versions of the font.  You don't
`create fonts for graphics', you use existing ones (unless you are a
multi-talented font designer, and some of feel even Don Knuth exceeed his
limits there).

> (I am using R 1.2.1, regrettably the Windows version).

Eh?  In that`regretable' version you have many more choices, including
using Verdana via e.g. win.printer().

I have no idea if Verdana exists as a postscript font, but in general
True Type fonts can be converted if their licences permit.

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list