tags:

views:

161

answers:

1

Is it possible to use a TTF font in R? Is the cairo package intended for this task? How would a minimal example look like?

+3  A: 

Ok, here is an example adapted from http://www.statmethods.net/advgraphs/parameters.html

windowsFonts(Calibri=windowsFont("Calibri"))
par(family="Calibri")
plot(rnorm(1:10))

which works very fine for me.

Karsten W.
Don't forget to accept your answer... (I liked the question btw...)
PaulHurleyuk