tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
76.79k stars 3.09k forks source link

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

Open cangyin opened 4 years ago

cangyin commented 4 years ago

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!

NerdyBread commented 4 years ago

Yeah same thing happened to me

tonsky commented 4 years ago

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

wopian commented 4 years ago

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

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

image

cangyin commented 4 years ago

@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

Boolean-ball commented 4 years ago

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

cangyin commented 4 years ago

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

wopian commented 4 years ago

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

Hocnonsense commented 3 years ago

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

Fira Code, Microsoft YaHei mono, monospace
KUndn commented 3 years ago

@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

protoEvangelion commented 3 years ago

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

image

mattdeann commented 3 years ago

DId you open the ttf folder and install the fonts?

cangyin commented 3 years ago

@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.

Pinche-Dev commented 3 years ago

"editor.fontLigatures": true, worked for me

AmamiyaRenn commented 1 year ago

I rebooted my PC, and it works(