diff --git a/README.md b/README.md index 922d2e0..2880eeb 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,22 @@ Mawkin Sans is a self-flipping font. An example of text can be seen here: ![The last metroid is in captivity. The galaxy is at peace.](demo.png) + +## Building + +### Prerequisites + +* have python3 and imagemagick installed (commands vary per OS) +* Install python scripts: + * `pip3 install fontmake` + * `pip3 install git+https://github.com/silnrsi/pysilfont` + * `python3 -m pip install fonttools[ufo,lxml,woff,unicode]` + +### Run builder + +This will build the font and generate the title and demo. + +```bash +./build.sh +``` + diff --git a/build.sh b/build.sh index ad26990..eb86771 100755 --- a/build.sh +++ b/build.sh @@ -13,3 +13,11 @@ convert -background white -fill black \ convert -background white -fill black \ -font './mawkin_sans.otf' -pointsize 60 label:"the last metroid\n. .is in captivity\nthe galaxy\n. .is at peace\n\n\nMawkin\n. .Sans" \ demo.png + +# Convert OTF to WOFF2 for webfont +python3 < + + + + + + + + Mawkin Sans Reference + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/docs/mawkin_sans.woff2 b/docs/mawkin_sans.woff2 new file mode 100644 index 0000000..43c8025 Binary files /dev/null and b/docs/mawkin_sans.woff2 differ