26 lines
836 B
Makefile
26 lines
836 B
Makefile
NAME := VideowayMono
|
|
FILES := ${NAME}-11.bdf ${NAME}-22.bdf ${NAME}.ttf ${NAME}HiDpi.ttf ${NAME}.otb ${NAME}.psf ${NAME}-11.fnt ${NAME}-22.fnt ${NAME}.dfont
|
|
|
|
.SUFFIXES: .sfd .bdf .otb .psf .fnt .dfont .ttf
|
|
|
|
all: ${FILES}
|
|
|
|
%-11.bdf %-22.bdf &: %.sfd
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$*.bdf","bdf")'
|
|
.sfd.otb:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@","otb")'
|
|
.sfd.psf:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@","psf")'
|
|
%-11.fnt %-22.fnt &: %.sfd
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$*.fnt","fnt")'
|
|
.sfd.dfont:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@", "sbit")'
|
|
%.ttf: %-11.bdf
|
|
rm -f $@
|
|
bitsnpicas convertbitmap -f ttf -o $@ $<
|
|
%HiDpi.ttf: %-22.bdf
|
|
rm -f $@
|
|
bitsnpicas convertbitmap -f ttf -o $@ -s Mono -r Mono-HiDpi $<
|
|
|
|
clean:
|
|
rm -f ${FILES} ${NAME}.afm
|