tall, condensed bitmap font for geeks

change up path configuration

Akshay 32920b33 5fac18ec

+7 -8
+6 -6
INSTALL.md
··· 60 60 curl -o BitsNPicas.jar "https://github.com/kreativekorp/bitsnpicas/blob/master/downloads/BitsNPicas.jar" 61 61 ``` 62 62 63 - 1. Open `build.sh` and change variable `BNP` to the full 64 - path to the BitsNPicas `jar` file. 63 + 1. Set an environment variable `BNP` to the path of 64 + `BitsNPicas.jar`, defaults to the current directory if 65 + unset 65 66 ```shell 66 67 # for example: 67 - export BNP="/home/nerdypepper/downloads/BitsNPicas.jar" 68 + user@host$ BNP="/home/nerdypepper/BitsNPicas.jar" ./build.sh 68 69 ``` 69 70 70 - 2. Run `build.sh` 71 - 3. If everything went well, you will find the generated font 71 + 2. If everything went well, you will find the generated font 72 72 files under the `build` folder. 73 - 4. Continue with step 3 of "Install from release" 73 + 3. Continue with step 3 of "Install from release" 74 74 75 75 ## Verification 76 76
+1 -2
build.sh
··· 1 1 #! /usr/bin/env bash 2 2 3 - export BNP="BitsNPicas.jar" 4 - 5 3 ff_filter() { 6 4 fontforge -c 'open(argv[1]).generate(argv[2])' "$1" "$2" 7 5 } ··· 9 7 ttf_filter() { 10 8 # 1 - source file 11 9 # 2 - destination file 10 + BNP=${BNP:="./BitsNPicas.jar"} 12 11 java -jar "$BNP" convertbitmap -f ttf -o "$2" "$1" 13 12 } 14 13