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.
2010-01-29 16:58:27
Don't forget to accept your answer... (I liked the question btw...)
PaulHurleyuk
2010-01-29 17:42:25