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

Cannot export chart with glyphs as svg or pdf #90

Closed
gnpan opened this issue Jul 10, 2022 · 1 comment
Closed

Cannot export chart with glyphs as svg or pdf #90

gnpan opened this issue Jul 10, 2022 · 1 comment

Comments

@gnpan
Copy link

gnpan commented Jul 10, 2022

waffle v.1.0.1, RStudio 2022.02.3, MacOS 12.4
I can create a waffle plot with fontawesome glyphs and it displays OK in RStudio. Exporting works fine for png or other image formats, but not for SVG or PDF (via Cairo) - glyphs show as rectangles. This used to work fine with older versions of waffle and fontawsome v4. Any help appreciated.

@gnpan
Copy link
Author

gnpan commented Jul 23, 2022

The solution I found is to add family = "Font Awesome 5 Free Solid" (or Brands etc) within geom_pictogram.

@gnpan gnpan closed this as completed Jul 23, 2022
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

1 participant