Closed eliocamp closed 2 weeks ago
Thanks for opening this issue!
Since you were seeing the additional fonts previously, this sounds like a possible regression after updating to 2022.12.0 Build 353
. It's possible your font preferences weren't successfully transferred to the new version, since user preference handling changed in this version.
If you go to the menu bar Help
> Diagnostics
> View All Prefs
(or you can run View(.rs.allPrefs())
) and look for the Preference browser_fixed_width_fonts
, do you see Fira Code in its Value? It should be a list of various fonts.
I now have Fira Code through this workaround.
browser_fixed_width_fonts
does list a lot of fonts, but many of them are not available in the font picker.
BTW, I'm now on RStudio 2023.03.0+386 "Cherry Blossom" Release (3c53477afb13ab959aeb5b34df1f10c237b256c3, 2023-03-09) for Ubuntu Bionic Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2023.03.0+386 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
The issue is still current.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
The issue is still current, Mx bot.
Moving to next release.
I wasn't able to reproduce on Ubuntu 24.04, using Fira Code 6.2 (downloaded from https://github.com/tonsky/FiraCode/releases/tag/6.2; installed the TTF Regular font version). I can then select and use Fira Code within RStudio.
I installed Fira Code on Ubuntu 20.04, but it still doesn't show up in RStudio Desktop Kousa Dogwood 2024.11.0-daily+299. But this already works correctly on Ubuntu 24.04, in the current release, Cranberry Hibiscus 2024.09.0+375. So it looks like this issue depends on the version of Ubuntu.
If the issue is resolved on newer releases of Ubuntu, I'm inclined to just close this issue. Ubuntu 20.04 will be EOL next April, so it's not worth investing time to figure out why it works on a soon-to-be-out-of-support OS.
Moving back to triage so we can discuss.
System details
Steps to reproduce the problem
Go to Tools -> Global Options -> Appearance. The list of available fonts doesn't include all fonts in the system.
Describe the problem in detail
I want to use Fira Code, which I have installed and could use in previous versions of RStudio. Now, I only see about 10 fonts:
Describe the behavior you expected
See a list of all available fonts, including Fira Code.