plot labels don't render correctly in rstudio viewer

After updating my OS (Manjaro 18.1.0), the plot viewer in Rstudio (aur/rstudio-desktop-bin 1.2.1335-1; R version 3.6.1) doesn't output readable text for the labels. Here's an example:

The same problem is present if I export the plot as a .png. However, if I export it from the viewer as a pdf, the labels look completely fine.

The plot shown here was made using plot(), but the same problem arises if I use ggplot2 instead.

I updated Rstudio, my R version, and all packages, but that didn't solve it. There's probably just some package or dependency I need to install, but I haven't been able to figure out what it is.

Thanks in advance to anyone who can help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.