Add scorekeeping

This commit is contained in:
Elnu 2022-03-06 09:53:26 -08:00
parent 13932a45e8
commit b3f7e3789a
7 changed files with 34 additions and 1 deletions

Binary file not shown.

3
assets/README.md Normal file
View file

@ -0,0 +1,3 @@
### Font
[Anonymous Pro](https://fonts.google.com/specimen/Anonymous+Pro) by Mark Simonson is used for the score font. To optimize font size, [fonttools](https://github.com/fonttools/fonttools) is used to strip out all characters from the font besides the numerals 0-9.

10
assets/chars.txt Normal file
View file

@ -0,0 +1,10 @@
U+0030
U+0031
U+0032
U+0033
U+0034
U+0035
U+0036
U+0037
U+0038
U+0039

3
assets/strip.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
# https://stackoverflow.com/a/14779443
pyftsubset AnonymousPro-Regular.ttf --output-file=../res/font.ttf --unicodes-file=chars.txt