Add scorekeeping
This commit is contained in:
parent
13932a45e8
commit
b3f7e3789a
7 changed files with 34 additions and 1 deletions
BIN
assets/AnonymousPro-Regular.ttf
Normal file
BIN
assets/AnonymousPro-Regular.ttf
Normal file
Binary file not shown.
3
assets/README.md
Normal file
3
assets/README.md
Normal 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
10
assets/chars.txt
Normal 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
3
assets/strip.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue