FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

VS Code doesn't recognizes Fira Code (duplicating #889)

Open ardenwick opened this issue 5 years ago • 14 comments

I installed FiraCode-VF.ttf version 5.2. My system is Windows 10.

Font settings in my VSCode are as follows: (deleted settings.json in workspace folder)

    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true

I also tried

    "editor.fontFamily": "'Fira Code'",
    "editor.fontLigatures": true

or

    "editor.fontFamily": "Fira Code Bold",
    "editor.fontLigatures": true

etc. and restarted VSCode and my system again and again. It just doesn't work.

image

Please help me!

ardenwick avatar Sep 04 '20 10:09 ardenwick

Yeah same thing happened to me

NerdyBread avatar Sep 04 '20 16:09 NerdyBread

Try using non-VF version? Most programs do not support it properly. I am not sure if that’s of VS Code / Windows, but it might be

tonsky avatar Sep 06 '20 09:09 tonsky

Try using non-VF version? Most programs do not support it properly. I am not sure if that’s of VS Code / Windows, but it might be

@tonsky VS Code supports variable fonts. Just tried it with only VF installed using 5.2 on VS Code 1.48 on Windows 10

  • "Fira Code" - Shows Fira Code
  • "Fira Code Light" - Shows Fira Code Light
  • "Fira Code Regular" - Shows Fira Code Regular
  • "Fira Code Medium" - Shows Fira Code Medium
  • "Fira Code SemiBold" - Shows Fira Code SemiBold
  • "Fira Code Bold" - Does not display Fira Code, uses fallback font
  • "Fira Code Retina" - Does not display Fira Code, uses fallback font

All six weights display in Windows' font settings and point to FiraCode-VF.ttf

image

wopian avatar Sep 06 '20 16:09 wopian

@wopian My VSCode font settings does't appear like that of yours. I have to guess the font name and fill it by hand, which also confuses me. image

VSCode 1.48.2 on Windows 10 18363

ardenwick avatar Sep 07 '20 03:09 ardenwick

@cangyin
Your VScode Font family setting is wrong! Is "'Fira code',Consolas...",have a space...so need single quotes.

Boolean-ball avatar Sep 22 '20 07:09 Boolean-ball

@Boolean-ball I tried with single quote, and it doesn't work.

ardenwick avatar Sep 22 '20 11:09 ardenwick

@cangyin that's the Windows 10 font settings screen for Fira Code.

wopian avatar Sep 22 '20 12:09 wopian

I don't use quote but it do work. Just copy & paste this?

Fira Code, Microsoft YaHei mono, monospace

Hocnonsense avatar Oct 20 '20 03:10 Hocnonsense

@Hocnonsense

I don't use quote but it do work. Just copy & paste this?

Fira Code, Microsoft YaHei mono, monospace

@Hocnonsense thanks man its working now

KUndn avatar Dec 25 '20 13:12 KUndn

I just had to reload vscode. With "Fira Code" in the settings GUI. No quotes.

image

protoEvangelion avatar Feb 06 '21 00:02 protoEvangelion

DId you open the ttf folder and install the fonts?

mattdeann avatar Feb 09 '21 18:02 mattdeann

@mattdeann Yeah! It works now. I installed all .ttf files in ttf folder (as before I just installed the .ttf in variable-ttf folder). But I don't know why this is the solution.

ardenwick avatar Feb 10 '21 06:02 ardenwick

"editor.fontLigatures": true, worked for me

Pinche-Dev avatar Aug 30 '21 05:08 Pinche-Dev

I rebooted my PC, and it works(

AmamiyaRenn avatar Oct 13 '22 07:10 AmamiyaRenn