1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-01 07:30:42 +02:00

Creation of Font class and code update accordingly

This commit is contained in:
Pierre-Yves Rollo
2018-07-08 20:36:34 +02:00
parent 23bcd70199
commit c6cad702bc
7 changed files with 533 additions and 343 deletions

View File

@ -67,7 +67,7 @@ generate() {
mkdir textures
# Reads all available code points in the font.
codepoints=$(ttx -o - $fontfile | grep "<map code=" | cut -d \" -f 2)
codepoints=$(ttx -o - "$fontfile" | grep "<map code=" | cut -d \" -f 2)
# Mandatory chars
generate 0020 007f