rstudio / rstudio

RStudio is an integrated development environment (IDE) for R
https://posit.co/products/open-source/rstudio/
Other
4.65k stars 1.09k forks source link

Fonts not recognised #12454

Open eliocamp opened 1 year ago

eliocamp commented 1 year ago

System details

RStudio Edition : Desktop 
RStudio Version : 2022.12.0 Build 353
OS Version      :  elementary OS 6.1 Jólnir Built on Ubuntu 20.04.5 LTS  Linux 5.15.0-56-generic
R Version       :  4.2.1

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:

image

Describe the behavior you expected

See a list of all available fonts, including Fira Code.

sharon-wang commented 1 year 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.

eliocamp commented 1 year ago

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.

image

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

github-actions[bot] commented 11 months ago

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.

eliocamp commented 11 months ago

The issue is still current.

github-actions[bot] commented 5 months ago

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.

eliocamp commented 5 months ago

The issue is still current, Mx bot.

gtritchie commented 2 months ago

Moving to next release.