Skip to content

Commit

Permalink
Merge pull request JetBrains#602 from naiyerasif/master
Browse files Browse the repository at this point in the history
Update docs to build from source
  • Loading branch information
philippnurullin authored Feb 6, 2023
2 parents 9d86cb0 + 12f8e0e commit 39c3ef4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,16 @@ You can find full JetBrains Mono character set on our [wiki page](https://github

## Building from source files

> **Note** To build from source, you'd need Python 3.9.5 or higher (install instructions for Python [available here](https://wiki.python.org/moin/BeginnersGuide/Download)).
The source files can be found in the *"Source"* folder. To open them you will need Glyphs app.\
To build the `.ttf`, `.otf`, `woff2` & variable `.ttf` you will need:
- install **gftools** `pip install gftools` (requires python 3.9.5 or higher on BigSur)
- Navigate to **…JetBrainsMono/sources/** in Terminal app.
- Type `gftools builder config.yaml` in Terminal and run it.
- After the script is complete the files can be found in *Fonts* folder.
To build the `.ttf`, `.otf`, `woff2` & variable `.ttf` you will need to:
- Install **gftools** `pip install gftools`
- Install **fonttools[woff]** `pip install fonttools[woff]`
- Navigate to **…JetBrainsMono** in Terminal app.
- Type `gftools builder sources/config.yaml` in Terminal and run it.
- Type `python scripts/generate_variable_webfonts.py` in Terminal and run it to generate variable webfonts.
- After the scripts are complete, the files can be found in *fonts* folder.

## License

Expand Down

0 comments on commit 39c3ef4

Please sign in to comment.