Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't show FireCode style in Rstudio 1.2.5042 #1109

Closed
ambarja opened this issue Aug 3, 2020 · 10 comments
Closed

Doesn't show FireCode style in Rstudio 1.2.5042 #1109

ambarja opened this issue Aug 3, 2020 · 10 comments
Milestone

Comments

@ambarja
Copy link

ambarja commented Aug 3, 2020

Hi everyone !
These day, I have been using the FireCode style in my routing of scripting , However, from the update, my system operative to Ubuntu 20.04 doesn't show it in rstudio 1.2.5042 with R 4.0.2.
Here, I described the steps that I followed to change the style in Rstudio.
I hope someone can help me 😿
Thanks!

sudo apt update
sudo apt install fonts-firacode

p1
p2

@ambarja ambarja changed the title Doesn't show firecode style in Rstudio 1.2.5042 Doesn't show FireCode style in Rstudio 1.2.5042 Aug 3, 2020
@tonsky
Copy link
Owner

tonsky commented Aug 3, 2020

Have you restarted it after install? Have you tried restarting your machine maybe?

@ambarja
Copy link
Author

ambarja commented Aug 4, 2020

Hi @tonsky , I appreciate your time in answer me, well I have been trying restarted my laptop, but the error continue show me.
I don't know if is my version of Rstudio o perhaps my last release of ubuntu 20.04.

@wilfredom
Copy link

wilfredom commented Sep 9, 2020

I also have this issue, on Manjaro 20.1 and latest versions of everything (R, RStudio, ttf-fira-code) from the Official repos. Looking at the font configuration, this is where the font is installed:

/home/wilfredo/.cache/.fr-PjBVQj/FiraCode-master/distr/ttf/FiraCode-Regular.ttf

@tonsky
Copy link
Owner

tonsky commented Sep 10, 2020

Fira Code is double-width right now, which might cause the incompatibility with RStudio. If you are willing to wait until v6, it should be strict monospace and might improve your situation

@wilfredom
Copy link

wilfredom commented Sep 10, 2020 via email

@tonsky
Copy link
Owner

tonsky commented Sep 10, 2020 via email

@wilfredom
Copy link

Amazing—thanks so much!

@tonsky tonsky added this to the 6 milestone Oct 8, 2020
@tonsky
Copy link
Owner

tonsky commented Oct 10, 2020

@barja8 I’d appreciate if you can test this build #1073 (comment)

@ambarja
Copy link
Author

ambarja commented Oct 11, 2020

@tonsky thanks a lot for trust, now is avaliable for Rstudio in Ubuntu 20.04, here steps 👇 🤓

  • Fira_Code_v6
  • sudo rm -rf /usr/share/fonts-firacode/
  • sudo cp *.ttf /usr/share/fonts/truetype/
  • fc-cache
  • fc-list -v "Fira Code" | grep spacing

Captura de pantalla de 2020-10-11 00-47-38

@tonsky
Copy link
Owner

tonsky commented Oct 11, 2020

Great, thanks! Hope when v6 comes out it’ll stay this way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants