Open pujan-modha opened 1 month ago
- Looks like "install the font" part isn’t necessary, if you are using Google Fonts version?
- Are the instructions the same as for VS Code? We should reference VS Code page then instead of copying it
@import
method first and it didn't seems to work so I installed the fonts and it worked.I tried the @import method first and it didn't seems to work so I installed the fonts and it worked.
This can’t be right. Besides, I think not all browsers support local fonts (I don’t think Safari does?). Please figure it out before we can add these instructions to the wiki
I tried the @import method first and it didn't seems to work so I installed the fonts and it worked.
This can’t be right. Besides, I think not all browsers support local fonts (I don’t think Safari does?). Please figure it out before we can add these instructions to the wiki
Looks like you're right, I tried the @import
method on fresh instance of code-server and it works fine, so I think there is no need for font installation.
So you removed locally installed font, reset font cache and it continued to work?
So you removed locally installed font, reset font cache and it continued to work?
Let me try that out real quick!!
And the new instance I ran is on another machine (actually on cloud) so yeah it do work without installing the fonts but I ain't tried removing the fonts from my first instance so I'll update once I try that out.
Update: It works even after removing the fonts from OS and clearing the cache!!
Seems like can't edit wiki directly.
For
Home.md
New wiki page:
Code-Server-Instructions.md
If this doesn't work for you, you can try:
Font weights
To achieve different weights, add one of the following (verified on Mac/Windows 10):
Stylistic sets
Since version 1.40, you can define stylistic sets in
settings.json
:To avoid possible bugs, you must uninstall Fira Code 1.x before installing Fira Code 2+.
Useful extensions