How to use custom otf-fonts in ggplot2 graphics
Sometimes you want to use some custom fonts in your ggplot2 graphics. Years ago there was a good article in [revolutionanalytics.com].
But this article states that if you want to use otf-fonts instead of ttf-fonts you have to use some experimental packages:
|
|
But as time goes by the evolution of R-packages progresses. So now you can use otf-fonts in ggplot2 graphics. I’m using Source Code Pro as custom font because I can identify this font really good because of its “zeros”.
|
|
