Most font options in RStudio Workbench disappeared after update

After a recent update to Posit Workbench, almost all fonts available in settings have disappeared from RStudio Pro, running under Posit Workbench.

Version:

RStudio 2023.03.1+446.pro1 "Cherry Blossom" Release (fb271f6e71dc52749793e2ae2b483311faa14704, 2023-05-09) for RHEL 8
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

sessionInfo()

R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux 8.8 (Ootpa)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.15.so

The only fonts available now are Consolas, Courier, Courier New, and Lucida Console.
Any advice on getting my beloved Cascadia fonts back?

Thanks!

Workbench has some logic which tries to figure out which fonts you actually have installed on browser. It starts with the list of fonts in the browser_fixed_width_fonts option (see the admin guide) and discards those which don't seem to be installed.

So the most likely issue is that there is a bug, or an unrelated change on your local system, which has made Workbench think that the Cascadia Code font is not installed.

One solution might be to update the browser_fixed_width_fonts option so that it includes the exact name of your preferred font.

Another would be to have your server admin install the Cascadia fonts into Workbench itself. This will make them available regardless of whether you have them installed locally, using the magic of web font technology. Here's how to do that: Administration Guide - Customizing Sessions Settings

A third would be to open a support ticket so we can help you figure out what's changed. As a Workbench customer you're entitled to email support: support@posit.co

Hope this helps, coding with a second-tier font is the worst. :slight_smile:

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.