spleen

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

commit 8f7c97ed2986baaa77539112d254062d951c4cc8
parent dfebffb67466fd43b1ea62981271afe6b0511488
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 29 Jan 2020 12:36:48 +0100

Add an 'sfd' target to generate SFD files for selected sizes using bdftosfd.

Diffstat:
MMakefile | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -11,6 +11,7 @@ # BDFTOPCF ?= bdftopcf +BDFTOSFD ?= bdftosfd BDF2PSF ?= bdf2psf FONTFORGE ?= fontforge OPTIPNG ?= optipng @@ -35,6 +36,7 @@ FONTSET = $(DATADIR)/fontsets/Uni1.512+:$(ASCII)+:$(LINUX)+:$(USEFUL) OPTIONS = $(EQUIVALENT) $(FONTSET) 512 SIZES = 5x8 8x16 12x24 16x32 32x64 +OTFSIZES = 8x16 16x32 32x64 TARGET = all @@ -50,6 +52,11 @@ psf: $(BDF2PSF) --fb spleen-${size}.bdf $(OPTIONS) spleen-${size}.psfu .endfor +sfd: +.for size in $(OTFSIZES) + $(BDFTOSFD) spleen-${size}.bdf > spleen-${size}.sfd +.endfor + otf: $(FONTFORGE) -lang ff -c 'Open("spleen.sfd"); Generate("spleen.otf")'