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
Copy file name to clipboardExpand all lines: README.md
+28-17
Original file line number
Diff line number
Diff line change
@@ -42,33 +42,44 @@ You must enable discretionary ligatures first, often using the `dlig` setting. S
42
42
43
43
## Desktop Installation
44
44
45
-
### MacOS
46
-
You can manually drag the fonts from the `fonts/otf` or `fonts/variable` directory into Font Book.
45
+
### Manually
47
46
48
-
There is also a script that automates the deletion of all Monaspace fonts from `~/Library/Fonts` and then copies over the latest versions. Invoke it from the root of the repo like:
You can also use [homebrew](https://brew.sh/) as an alternative:
55
53
56
-
```bash
57
-
brew tap homebrew/cask-fonts
58
-
brew install font-monaspace
54
+
```sh
55
+
$ make uninstall
56
+
Fonts successfully uninstalled
57
+
```
58
+
59
+
#### Make Optional flags
60
+
61
+
| name | description | default value |
62
+
|-|-|-|
63
+
| DEST_DIR | Base directory where the fonts should be installed. | Windows: `%WINDIR%/Fonts`<br>MacOS: `~/Library/Fonts`<br>Linux: `~/.local/share/fonts`|
64
+
| WRAP | Install the fonts in a subfolder named `Monaspace` within the `DEST_DIR`<br>`1` to enable, unset or any other value to disable it.| Enable by default for Linux which is the only one that supports it. |
65
+
66
+
**Examples:**
67
+
```sh
68
+
$ make install DEST_DIR=~/.fonts
69
+
```
70
+
```sh
71
+
$ make install WRAP=no
59
72
```
60
73
61
-
### Windows
62
-
You can manually drag the fonts from the `fonts/otf` or `fonts/variable` directory into `C:\Windows\Fonts`. Alternatively, right-click the fonts you want and click Install.
74
+
### Package managers
63
75
64
-
### Linux
65
-
You can manually drag the fonts from the `fonts/otf` and `fonts/variable` directory into `~/.local/share/fonts`.
76
+
#### MacOS
66
77
67
-
There is also a script which automates the deletion of all Monaspace fonts from `~/.local/share/fonts` and then copies over the latest versions. Invoke it from the root of the repo like:
78
+
A [homebrew](https://brew.sh/) cask is available for MacOS:
0 commit comments