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

Snap: User fonts are missing #63194

Closed
joaomoreno opened this issue Nov 15, 2018 · 9 comments · Fixed by #109608
Closed

Snap: User fonts are missing #63194

joaomoreno opened this issue Nov 15, 2018 · 9 comments · Fixed by #109608
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux snap Issues related to the snap package verified Verification succeeded
Milestone

Comments

@joaomoreno
Copy link
Member

I'm using Fira Code iScript

image

@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux snap Issues related to the snap package labels Nov 15, 2018
@joaomoreno joaomoreno added this to the Backlog milestone Nov 15, 2018
@joaomoreno joaomoreno self-assigned this Nov 15, 2018
@chrisberry-io
Copy link

Also experiencing this issue. I'm using Fira Code. All fonts display fine on non-snap version.

@joaomoreno
Copy link
Member Author

@flexiondotorg Any thoughts on this one? I can't actually get the Code-Insiders snap working with any other font than the ugly Courier New. 🤔

@flexiondotorg
Copy link
Contributor

@joaomoreno I can't reproduce this issue. I have installed the Code Insiders snap on a clean Ubuntu 18.10 VM. I've canged tthe Editor: Font Family to this: 'Ubuntu Mono','Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback' and I have the Ubuntu font reflected in my editor.

How did you install the Fira Code font? What directory it is installed in?

@DoubleBoba
Copy link

Still experiencing this issue. I'm using xubuntu and installed Fira Code via standard font viewer in ubuntu. Non-snap edition can use custom font.

@farzadmf
Copy link

farzadmf commented Jan 14, 2019

I have the same problem with the terminal font on Ubuntu 18.10; I have installed vscode using the edge channel, and I have installed Menlo for Powerline font, but when I set this:

"terminal.integrated.fontFamily": "Menlo for Powerline"

I receive an error message like this:
image

The reason I know it's not because of the font not being monospace is that I get the error message no matter what I type for the setting.

It may be worth mentioning that if I set the value to Ubuntu Mono, the font changes, and I don't see the error message, and also, my shell is zsh

This is a screenshot of the terminal I wanted to solve in the first place:
image

@joaomoreno
Copy link
Member Author

joaomoreno commented Jan 15, 2019

@flexiondotorg Fira Code is in ~/.local/share/fonts, so the snap doesn't seem to pick that up.


The default 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback' also doesn't work for me:

image

Compare that with the non-snap version:

image


The value 'Ubuntu Mono','Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback' actually works, I get the Ubuntu font. 🤔

@flexiondotorg
Copy link
Contributor

flexiondotorg commented Feb 8, 2019

@joaomoreno We've been testing this and discovered the following. User installed fonts in ~/.fonts or ~/.local/share/fonts are not working with code-insiders snap when it is installed on Ubuntu 18.10. However, user installed fonts are working with the code-insiders snap on Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. We are investigating further to understand why 18.10 is not working.

We've been using Fira Code and the Go font in our testing.

@joaomoreno
Copy link
Member Author

Current workaround: copy fonts to /usr/share/fonts

@joaomoreno
Copy link
Member Author

Thanks to @flexiondotorg, this is now fixed in master! #70884

@joaomoreno joaomoreno modified the milestones: Backlog, March 2019 Mar 25, 2019
joaomoreno added a commit that referenced this issue Mar 25, 2019
@bpasero bpasero added the verified Verification succeeded label Mar 27, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators May 9, 2019
lemanschik pushed a commit to code-oss-dev/code that referenced this issue Nov 25, 2022
Adds the PPA for the GNOME 3.26 framework which is maintained by the Ubuntu Desktop team.

This PPA includes GTK3 and GNOME3 components used to create the GNOME 3.26 Framework snap for Ubuntu 16.04.

  * Fixes:  microsoft#63194
  * Fixes:  microsoft#57019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux snap Issues related to the snap package verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants