You are not logged in.

#1 2021-11-04 21:13:56

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

VS Code cannot handle font families, seems to be a missing package.

I use VS Code as my ide for programming. Until i switched to Arch, it was working fine. Now, it only loads some weird fonts at startup (Image here: https://imgur.com/a/LxH00RZ ), and no matter what setting i use, it keeps it just like that. The same happens with GVim, and Geany. Anybody know any ideas? My settings: https://imgur.com/a/zgntB8P
(Arch System):
XFCE4, KDE and i3WM
SF Pro Medium as my main font (With monospace as a monospace font)
Haven't installed any other font packages


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#2 2021-11-04 22:00:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,914

Re: VS Code cannot handle font families, seems to be a missing package.

fc-match monospace
fc-list :fixed # the colon isn't a typo

Offline

#3 2021-11-05 12:50:06

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: VS Code cannot handle font families, seems to be a missing package.

seth wrote:
fc-match monospace
fc-list :fixed # the colon isn't a typo

Am I supposed to post the output? If yes, here is what i get:

fc-match monospace:

NimbusMonoPS-Regular.otf: "Nimbus Mono PS" "Regular"

The second command has so much output my terminal skipped a few lines, but i suppose it lists all the system fonts.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#4 2021-11-05 12:58:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,914

Re: VS Code cannot handle font families, seems to be a missing package.

Am I supposed to post the output?

Yes.

The second command has so much output my terminal skipped a few lines

It's gonna be all monospace fonts.

fc-list :fixed | curl -F 'f:1=<-' ix.io

But you've Nimbus Mono PS as your default monospace font, so that's not an issue.

You should not try to use a variable width font, so it'd be better to configure vscode to use forementioned Nimbus Mono (or Source Code Pro, the vastly superior font design tongue ) but that doesn't explain the behavior of eg. gvim.

FC_DEBUG=4 pango-view --font="monospace" -t "a" | grep family:

Offline

Board footer

Powered by FluxBB