Closed jamesfeigenbaum closed 6 years ago
Would be nice to do the extrafont part in the package. How does that work/
Also, might be nice to have 3 options inside the function:
Options added.
To use one of the custom fonts in the geom_text
function (to plot text labels rather than dots in a scatter plot, for example) need to do:
geom_text(family = "Roboto Condensed")
Is there a way to push the font family all the way through to geom_text
?
Trying to figure out how to leverage hrbrthemes
which uses roboto condensed to get this stupid thing to work...
Okay, no longer needed to load extrafont
. Borrowed some nice code from hrbrthemes
to do it in zzz.R
The
theme_jjf
function requires (of course)ggplot2
but alsoextrafont
to be loaded first.