Use Windows (TTF) font?
Asked Answered
W

1

11

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?

Witter answered 29/1, 2010 at 15:52 Comment(2)
Ok, I just found statmethods.net/advgraphs/parameters.html The question can be closed.Witter
I would suggest just answering your own question rather than closing it.Nonconformist
W
11

Here is an example adapted from http://www.statmethods.net/advgraphs/parameters.html:

windowsFonts(Calibri=windowsFont("Calibri"))
par(family="Calibri")
plot(rnorm(1:10))
Witter answered 29/1, 2010 at 16:58 Comment(1)
Don't forget to accept your answer... (I liked the question btw...)Inconspicuous

© 2022 - 2024 — McMap. All rights reserved.