Skip to content
New issue

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

Notes on ggplot2 fonts #5

Open
maelle opened this issue Sep 16, 2024 · 1 comment
Open

Notes on ggplot2 fonts #5

maelle opened this issue Sep 16, 2024 · 1 comment

Comments

@maelle
Copy link
Collaborator

maelle commented Sep 16, 2024

Fonts in ggplot2 seem to belong to a ggplot2 theme. You could store a theme within a package I suppose (this package or a separate one as it might be loaded in more cases). https://ggplot2.tidyverse.org/articles/ggplot2-specs.html#text

I don't think you can force pkgdown to load a theme, it should be done once per vignette for instance. (ggplot2 fonts/themes are not responsive to options as far as I can tell)

@joethorley
Copy link
Member

Thanks for looking into. Makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants