mirror of
https://github.com/tonsky/FiraCode.git
synced 2024-10-04 00:31:49 +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.
parent
85551ab058
commit
b8b2f52806
@ -32,11 +32,12 @@ To achieve different weights, add one of the following (verified on Mac/Windows
|
|||||||
```json
|
```json
|
||||||
"editor.fontWeight": "300" // Light
|
"editor.fontWeight": "300" // Light
|
||||||
"editor.fontWeight": "400" // Regular
|
"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": "500" // Medium
|
||||||
"editor.fontWeight": "600" // Bold
|
"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
|
```json
|
||||||
"editor.fontFamily": "FiraCode-Retina",
|
"editor.fontFamily": "FiraCode-Retina",
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user