vscode fonts seeing only the fonts in ~/.local/share/fonts/ #2036
codexico started this conversation in Discussions
Replies: 0 comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had a problem with the fonts in VSCode; it was seeing only the fonts in
~/.local/share/fonts/and does not see the fonts in/usr/share/fonts/. The other apps work properly and can see all the fonts.After several attempts the solution was to add the line:
<dir>/usr/share/fonts</dir>in
~/.config/fontconfig/fonts.confand reset the fonts cache with:
fc-cache -f -vWith this, VSCode began to see all the fonts.
I don't know if that's the right solution, but it worked.
Any other solutions?
Beta Was this translation helpful? Give feedback.
All reactions