You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.fontLigatures": true
}
Make sure that Fira Code is installed to the machine accessing code-server in the browser, not the server (as it's the client browser that renders the fonts). I don't have any issues using Fira Code with code-server.
@gjrtimmer Install the stylus extension in chrome and add a "style" for the url where you access code-server. In my case it is http://penguin.linux.test:8080 (I am running code-server in crostini on a chromebook). Add the line @yw662 suggests to the style.
Reacted by Cody Saylor, gpoontip and Ibrahim-Bolarinwa-Mappa
Activity
[-]Editor Font Support[/-][+]editor.fontFamily Support[/+]deansheather commentedon Jun 11, 2019
Try:
Make sure that Fira Code is installed to the machine accessing code-server in the browser, not the server (as it's the client browser that renders the fonts). I don't have any issues using Fira Code with code-server.
yw662 commentedon Jun 26, 2019
There is an alternative way to let your browser use fira code fonts, as long as you can use user style.
@import url(https://cdn.jsdelivr.net/gh/tonsky/FiraCode@1.206/distr/fira_code.css);Maybe this can be done directly by code-server, so that there is no need for extra efforts on client/browser side.
gjrtimmer commentedon Dec 11, 2019
@yw662 where would I make this change ?
HenrikSolver commentedon Dec 21, 2019
@gjrtimmer Install the stylus extension in chrome and add a "style" for the url where you access code-server. In my case it is http://penguin.linux.test:8080 (I am running code-server in crostini on a chromebook). Add the line @yw662 suggests to the style.
nhooyr commentedon Jan 30, 2020
Thank yo @HenrikSolver and @yw662 for answering
SuperSandro2000 commentedon Feb 16, 2020
If anyone is here for JetBrains Mono
HenrikSolver commentedon Apr 9, 2020
It seems that this trick doesn't work with 3.0.2. Maybe it is caused by #1470 .
nhooyr commentedon Apr 9, 2020
We have an open issue re this at #1374