[R] How to specify fonts
ihaka at stat.auckland.ac.nz
Tue Jul 4 00:26:18 CEST 2000
On Tue, Jul 04, 2000 at 09:47:09AM +1200, Patrick Connolly wrote:
> In Splus, if I wanted to use Bookman-Demi instead of the default
> Helvetica, I would specify font = 18 as a graphical parameter for a
> postscript printer.
> In R it seems font can take only the values 1 to 4 which change only
> the style but it's still Helvetica. There's some great flexibility
> using Hershey vector fonts, but it appears they are all mono-spaced.
There is a ``family'' argument to the postcript device driver.
You can choose "AvantGarde", "Bookman", "Courier", "Helvetica",
"Helvetica-Narrow", "NewCenturySchoolbook", "Palatino" or "Times".
Of course, sans-serif fonts are less distracting to the eye ...
> I wish to use proportional spacing, with subscripts and Hershey vector
> fonts. Is that possible? The help for text() or par() does not make
> it clear to me. Other ideas greatly appreciated.
Ummm. Could you be a bt more precise about what you are trying to do?
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