We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the previous R version (3.3.3), this
library(ggplot2) library(showtext) font.add.google("Lato") p1 <- ggplot(diamonds, aes(depth, price)) + geom_point() + theme_minimal(base_family = "Lato") showtext.auto() ggsave(plot = p1, "trial.pdf")
works:
but in the version of R (3.4) you instead get
Error in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y, : invalid font type
The text was updated successfully, but these errors were encountered:
Did you try to reinstall the package using R 3.4?
Sorry, something went wrong.
That fixed it--thanks! Sorry for the false alarm.
No problem. Thanks for the report.
No branches or pull requests
In the previous R version (3.3.3), this
works:
but in the version of R (3.4) you instead get
The text was updated successfully, but these errors were encountered: