I installed various type of Fira Code Nerd Font Complete but want to specify to use Retina as the font for my VSCode. The below setting didn't work:
"editor.fontFamily": "'Fira Code Retina Nerd Font Complete'",
or
"editor.fontFamily": "FiraCode Nerd Font-Retina'"
or
"editor.fontFamily": "FiraCode Nerd Font Retina"
The default Fira Code will work with:
"editor.fontFamily": "FiraCode-Retina'"
To use the regular, I use the below setting and It works:
"editor.fontFamily": "FiraCode Nerd Font",
try "FiraCodeNerdFontComplete-Retina" as a font name (cannot visually distinguish it from Regular, but at least vsc does not fail-back to the next font). I found it using:
$ strings ~/Library/Fonts/"Fira Code Retina Nerd Font Complete.otf" | grep Fira | less
try "FiraCodeNerdFontComplete-Retina" as a font name (cannot visually distinguish it from Regular, but at least vsc does not fail-back to the next font). I found it using:
$ strings ~/Library/Fonts/"Fira Code Retina Nerd Font Complete.otf" | grep Fira | less
Thank you for help. I tried but it didn't work for me.
"editor.fontFamily": "FiraCodeNerdFontComplete-Retina"
Seems the only way to use retina is only install it without any other version and use the below setting:
"editor.fontFamily": "FiraCode Nerd Font Mono"
@Happin3ss, my issue was not with VSCode specifically but this may help you.
I were checking what name Fira Code had in my system and it was called FiraCode NF, from there I used FiraCode NF Retina and it worked properly! I am unsure whether this may be your issue or not, but I hope I have helped you or anyone else with this issue.
Just like @wizardlink mentioned, the name of this font is FiraCode NF and FiraCode NF Retina so to use it in VSCode your font setting should be like this:
"editor.fontFamily": "FiraCode NF Retina"
for me, it worked with FiraCodeNerdFontCompleteM-Retina (M stands for the Mono version)
I installed mine using homebrew just today:
brew tap homebrew/cask-fonts
brew cask install font-fira-code-nerd-font
I reached the same conclusion as @triangularcover but using a different method.
I checked the output of the command mentioned here: https://apple.stackexchange.com/a/243746
Then found the entry for "Fira Code Retina Nerd Font Complete.otf" and used the value "FiraCodeNerdFontComplete-Retina" found below "Typefaces". I'm not sure why for some the font is called FiraCode NF, maybe an older version?
Example of output:
Kind: OpenType
Valid: Yes
Enabled: Yes
Location: /Users/sauls/Library/Fonts/Fira Code Retina Nerd Font Complete.otf
Typefaces:
FiraCodeNerdFontComplete-Retina:
Full Name: Fira Code Retina Nerd Font Complete
Family: FiraCode Nerd Font
Style: Retina
Version: Version 2.000;PS 002.000;hotconv 1.0.88;makeotf.lib2.5.64775
Vendor: Carrois Corporate, Edenspiekermann AG, Nikita Prokopov
Unique Name: 2.000;CTDB;FiraCode-Retina
Designer: Carrois Corporate, Edenspiekermann AG, Nikita Prokopov
Copyright: Copyright 2012-2015 The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
Trademark: Fira Mono is a trademark of The Mozilla Corporation.
Outline: Yes
Valid: Yes
Enabled: Yes
Duplicate: No
Copy Protected: No
Embeddable: Yes
Most helpful comment
I installed mine using homebrew just today:
I reached the same conclusion as @triangularcover but using a different method.
I checked the output of the command mentioned here: https://apple.stackexchange.com/a/243746
Then found the entry for "Fira Code Retina Nerd Font Complete.otf" and used the value "FiraCodeNerdFontComplete-Retina" found below "Typefaces". I'm not sure why for some the font is called
FiraCode NF, maybe an older version?Example of output: