1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-07-04 16:06:26 +03:00

Clarified that FiraCode-Retina only works with separated font files, and fontWeight: 450 works with variable-weight font file. See discussion/tests in #1318.

Paul "TBBle" Hampson 2022-01-07 22:12:19 +11:00
parent 85551ab058
commit b8b2f52806

@ -32,11 +32,12 @@ To achieve different weights, add one of the following (verified on Mac/Windows
```json
"editor.fontWeight": "300" // Light
"editor.fontWeight": "400" // Regular
"editor.fontWeight": "450" // Retina !! Only works with FiraCode-VF.ttf installed, see below when using separated font files (the normal case).
"editor.fontWeight": "500" // Medium
"editor.fontWeight": "600" // Bold
```
To use Retina weight, change Font name to `FiraCode-Retina` if on macOS (exactly that, no spaces). It might be necessary to install the separate .ttf files and not the single variable `FiraCode-VF.ttf` file:
To use Retina weight when not using FiraCode-VF.ttf, change fontFamily to `FiraCode-Retina` if on macOS (exactly that, no spaces):
```json
"editor.fontFamily": "FiraCode-Retina",
```