After upgrading to RStudio 2024.12.0.467 today, I noticed that it now uses a weird UI font. Seems like a missing font with suboptimal font substitution to me. This only affects certain parts of the UI; the menu font is sans-serif as always.
My OS is Fedora 41.
I'd like to get the sans-serif font back -- is there a configuration file where I can adjust this?
Thank you for the bug report -- could you please file a bug report here , so this doesn't get lost?
Thanks!
You were quicker than me:
opened 10:22PM - 20 Dec 24 UTC
enhancement
new
Newer versions of e.g. Fedora do not include the fonts we declare. https://fedor… amagazine.org/whats-new-fedora-36-workstation/ has:
> The Noto fonts are now used by default for many languages. This provides greater coverage for different character sets. For users who write in the Malayalam script, the new Meera and RIT Rachana fonts are now the default.
Indeed, I see:
```
kevin@fedora:~/Downloads$ fc-match serif
NotoSerif[wght].ttf: "Noto Serif" "Regular"
kevin@fedora:~/Downloads$ fc-match sans-serif
NotoSans[wght].ttf: "Noto Sans" "Regular"
kevin@fedora:~/Downloads$ fc-match monospace
NotoSansMono[wght].ttf: "Noto Sans Mono" "Regular"
```
We should include these fonts in our font list at https://github.com/rstudio/rstudio/blob/64ca4613dedfd733aba56ea4ec56c0ad98d2237f/src/node/desktop/src/main/gwt-callback.ts#L706-L712.
We should also update the default fallback font used here:
https://github.com/rstudio/rstudio/blob/64ca4613dedfd733aba56ea4ec56c0ad98d2237f/src/gwt/src/org/rstudio/core/client/theme/ThemeFonts.java#L32
given that all the fonts we attempt to choose are sans-serif fonts, not serif fonts.
(I'm a frequent visitor of github.com , please don't ask me why I did not look there in the first place...)