Setting a font in settings.json
Environment
Windows build number: Version 10.0.18363.778 Windows Terminal version (if applicable): 1.0.1401.0
Steps to reproduce
- Install
ttc-iosevka-curly-3.1.0.zipfonts in Windows - Verify it works properly in any other app
- In
settings.json, set"fontFace": "Iosevka Term Curly Light"
Expected behavior
Iosevka Term Curvy Light is selected as active font, or some kind of error is reported so user can know what's that Terminal didn't like
Actual behavior
Terminal reverts to the default (non-ligature) font, without any explanation (or logging that I know of)
The reason why it uses the default font would likely be that the font name is not recognized. Yeah you're right. There's currently no explanation when this happens. Seems a little confusing.
As far as I can tell, Iosevka Term Curly Light is the proper name for the font, at least as reported by Settings|Font settings in Windows..
Having
"fontFace": "Iosevka Term Curly"
"fontWeight": "200"
like in VSCode would be even better, but that's not available (yet?)
fontWeight will be in Preview (it's in master if you want to build it).
I believe the root of the issue is that we specify font family names and call them font faces. For now, fontFace: Iosevka Term Curly should suffice, and font weight will come out soon. For fixing the root cause, /dup #1163.
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!