I'm successfully using Terminus TTF font in Visual Studio. I downloaded:
How to use Terminus font in Visual Studio Code? What is the name of the font. I tried:
- Terminus
- Terminus (TTF)
- Terminus TTF
Where can one know the font name to use in editors like Sublime, Studio code, ...
3 Answers
All I needed was to escape fontFamily value:
"editor.fontFamily": "Terminus \\(TTF\\)",
"editor.fontSize": 16, 1 The answer of @broadband and the comment by @FlorianCastellane both didn't work for me using VSCode 1.30 and later.
I have found out that font names can be written within single quotes which in the end enabled Terminus for me.
"editor.fontFamily" : "'Terminus (TTF) for Windows', Consolas"
For me (under Linux) as well as installing the TTF version of the font, I also had to adjust the line height as the lines were spaced too far apart:
"editor.fontFamily": "'Terminus (TTF)', 'Droid Sans Mono', monospace",
"editor.fontSize": 16,
"editor.lineHeight": 18, 1