Closed RoyalTS closed 3 months ago
The root issue is that systemfonts matches based on the family name, not the post script name. I'll look into if this is possible to add, but I'm not sure if this is doable on all systems
Is there a way to hack around this in the meantime?
try with dev systemfonts. I just pushed a potential fix
Problem solved, it seems like. Thank you much!
I'm not sure if this is a ragg bug, a systemfonts bug, or even whether it is a bug at all or just unexpected behavior. Here goes:
I've been using hrbrthemes forever, always without issue.
theme_ipsum_ps()
from that package (docs) uses IBM Plex Sans as its font, and using the default Rstudio device the codeproduces this plot:
All as it should be. If I switch to the AGG device, however, the font no longer seems to be getting rendered correctly:
This despite the relevant section of
systemfonts::system_fonts()
looking – at least to me – relatively innocuous:Possibly related?