| 1 | # Contributing |
| 2 | |
| 3 | The source files are under the `sources` subdirectory. |
| 4 | The `.sfd` files are FontForge source font format and should be edited with [FontForge][fontforge]. |
| 5 | The `.fea` files are [OpenType feature files][fea] and should be edited by a plain text editor. |
| 6 | |
| 7 | To build the fonts locally, you will need to setup [Fontship][fontship]. |
| 8 | Several methods are available for installation including a simple one-liner with no installation [using Docker][fontship-docker-setup]. |
| 9 | One Fontship is setup, regenerate the fonts at any time using: |
| 10 | |
| 11 | fontship make |
| 12 | |
| 13 | A remote CI runner will also automatically run `fontship` for all PRs on this repository, so in some cases you may not need to install it at all. |
| 14 | You can even download and review the fonts it builds after each push. |
| 15 | Hovever this is cumbersome for actual font development and we recomend checking your work with local feedback. |
| 16 | |
| 17 | Note that FontForge adds unnecessary clutter to its source files on each save that **must** be removed before committing. |
| 18 | After modifying the `.sfd` files, and before committing the changes, you can automatically clean them up with: |
| 19 | |
| 20 | fontship make normalize |
| 21 | |
| 22 | [fontship]: https://github.com/theleagueof/fontship |
| 23 | [fontforge]: https://fontforge.org |
| 24 | [fea]: https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html |
| 25 | [fontship-docker-setup]: https://github.com/theleagueof/fontship#docker-setup |