i have a rmd document with chunks including ggplots. The chunks' device is set to "ragg_png" (as is the global option in RStudio; ragg and systemfont packages are installed). In the plots I am using a custom font, installed from Google fonts.
When knitting the document, the plot comes out as intended. The font is properly rendered. However, when simply running the chunk, I get the info that "font family not found in Windows font database".
Any idea how to address this? How can the font be found when knitting the document, but be missing when running the chunk? Any help? Many thanks!
So this is definitely something related to the IDE - I would suggest opening an issue in the github repo there with step to reproduce for them to look into.