spleen

Monospaced bitmap fonts for consoles, terminals, and code editors
Log | Files | Refs | README | LICENSE

commit d5af0255e76b40797c579fa8800f59ee7a5f74e7
parent 6ad2512a5076a7275accfe086ce2dab19fb5cadc
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 13 Feb 2019 14:22:56 +0100

Add a target to generate screenshots for ASCII characters in all sizes.

Diffstat:
MMakefile | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -4,7 +4,7 @@ # https://www.cambus.net/ # # Created: 2019-01-29 -# Last Updated: 2019-02-08 +# Last Updated: 2019-02-13 # # Spleen is released under the BSD 2-Clause license. # See LICENSE file for details. @@ -41,3 +41,12 @@ psf: dfont: $(UFOND) -dfont *.bdf mv Spleen.fam.dfont spleen.dfont + +screenshots: +.for size in $(SIZES) + awk 'BEGIN { for(chr = 32; chr < 127; chr++) printf "%c", chr }' | \ + pbmtext -font spleen-${size}.bdf -nomargins | \ + ppmchange black "#aaa" | \ + ppmchange white black | \ + pnmtopng > spleen-${size}.png +.endfor