Zulip Chat Archive

Stream: general

Topic: visual studio code font


Patrick Thomas (Sep 14 2020 at 16:46):

Does Visual Studio Code have support for Postscript type-1 fonts? I added 'Nimbus Mono L' to the beginning of the list, but nothing seemed to change. I'm on Linux.

Alex Peattie (Sep 14 2020 at 18:44):

VSCode using the same font loading engine as Chrome apparently, so Type 1 fonts should be OK in theory. Maybe try running:

fc-list | grep -i "nimbus"

And double check that the font name is exactly as you've written it. If it is a format problem looks like there's an extended version of Nimbus Mono L in OpenType format here :smile:

Patrick Thomas (Sep 14 2020 at 18:59):

Hmm. I get:

/usr/share/fonts/type1/gsfonts/n021024l.pfb: Nimbus Roman No9 L:style=Medium Italic
/usr/share/fonts/type1/gsfonts/n021004l.pfb: Nimbus Roman No9 L:style=Medium
/usr/share/fonts/type1/gsfonts/n022003l.pfb: Nimbus Mono L:style=Regular
/usr/share/fonts/type1/gsfonts/n021023l.pfb: Nimbus Roman No9 L:style=Regular Italic
/usr/share/fonts/type1/gsfonts/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic
/usr/share/fonts/type1/gsfonts/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic
/usr/share/fonts/type1/gsfonts/n022023l.pfb: Nimbus Mono L:style=Regular Oblique
/usr/share/fonts/type1/gsfonts/n019043l.pfb: Nimbus Sans L:style=Regular Condensed
/usr/share/fonts/type1/gsfonts/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
/usr/share/fonts/type1/gsfonts/n021003l.pfb: Nimbus Roman No9 L:style=Regular
/usr/share/fonts/type1/gsfonts/n019023l.pfb: Nimbus Sans L:style=Regular Italic
/usr/share/fonts/type1/gsfonts/n022004l.pfb: Nimbus Mono L:style=Bold
/usr/share/fonts/type1/gsfonts/n019024l.pfb: Nimbus Sans L:style=Bold Italic
/usr/share/fonts/type1/gsfonts/n019004l.pfb: Nimbus Sans L:style=Bold
/usr/share/fonts/type1/gsfonts/n022024l.pfb: Nimbus Mono L:style=Bold Oblique
/usr/share/fonts/type1/gsfonts/n019003l.pfb: Nimbus Sans L:style=Regular

and entered Nimbus Mono L.

Alex Peattie (Sep 14 2020 at 19:02):

In Chrome if you Inspect Element and change the font-family of some text to Nimbus Mono L, does it work?

Patrick Thomas (Sep 14 2020 at 19:25):

No. It doesn't seem to find it.

Alex Peattie (Sep 14 2020 at 19:43):

Hm I'm not sure :thinking: I'd recommend giving it a try with an OTF/TFF version of the font

Patrick Thomas (Sep 14 2020 at 19:45):

Ok. Thank you.


Last updated: Dec 20 2023 at 11:08 UTC