hrbrmstr/waffle

Cannot export chart with glyphs as svg or pdf

gnpan opened this issue · 1 comments

gnpan commented

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 commented

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