diff --git a/README.md b/README.md index 36bc658..418db80 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,18 @@ Copy your *Operator Mono* OpenType files into the `original` folder. From the command line, run: +### Windows + ``` build ``` +### Linux/Mac + +``` +build.sh +``` + This will generate the new font files in the `build` folder. You can now install these fonts on your system. --- diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..06fcc93 --- /dev/null +++ b/build.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +rm original/*.ttx +ttx original/OperatorMono-Medium.otf +ttx original/OperatorMono-MediumItalic.otf + +mkdir -p build + +node index.js OperatorMono-Medium +node index.js OperatorMono-MediumItalic + +rm -rf build/*.otf + +ttx build/OperatorMonoLig-Medium.ttx +ttx build/OperatorMonoLig-MediumItalic.ttx