Closed mnco25 closed 1 year ago
VS Code supports opentype features out of the box so you should use a non-customized version with it and enable script variant through settings as below:
{
"editor.fontLigatures": "'ss02' on",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
}
}
See also https://www.monolisa.dev/faq#how-to-enable-the-script-variant-for-comments-or-function-names .
I did that, and this is what happened.
Should I put on my Editor: Font Family?
Should I put on my Editor: Font Family?
That should be like this:
"editor.fontFamily": "MonoLisa",
You can use that editor.fontLigatures
portion to enable specific features you want.
Should it be "MonoLisa Mac Medium Italic"? If I want to use the italic one?
No, just MonoLisa
since the editor is doing rest of the work and it's extremely important to use the non-customized version with VS Code.
This is what I get for "MonoLisa":
This is when I used "Monolisa Mac" it gives me the script variant for ONLY the comment.
https://github.com/MonoLisaFont/feedback/assets/75378716/e7a238b8-96e4-4946-bed4-cdd6d1fae359
You can validate the font files you have at https://fontdrop.info/ . For non-customized version all stylistic sets are toggleable.
Note that ss02 has been defined only for italic. That's why you have to adjust a theme to match it.
I got it now. Thank you so much for your assistance!
Edition
Plus
What version are you using?
2.008
What type of weights are you using?
Default (non-customized)
Operating system
Windows 11, 22H2, 22631.1835
Program
VS Code
Display resolution
1920 x 1080
What happened?
I have included an image of my VS Code interface showing the Java program and the settings.json file. I'm experiencing difficulties in applying a script variant from my IDE, and I would greatly appreciate any assistance with this matter. Thank you so much!
Additionally, I would like to have the same font format as the one used on the MonoLisa website for my ID.
And this is my installed font styles:
This is my custom installed zip file: