mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-09 13:33:06 -04:00
Switch build system to generating BDF via PostScript
As far as I can see, the new BDF files are now as good as the FontForge-generated ones.
This commit is contained in:
parent
ca7fa3a80d
commit
a89d0efedd
20
Makefile
20
Makefile
@ -74,17 +74,16 @@ bedstead-chiseltip.sfd: strokefont.py bedstead-oc.sfd
|
||||
fontforge -lang=py -script strokefont.py chiseltip bedstead-oc.sfd \
|
||||
bedstead-chiseltip.sfd
|
||||
|
||||
bedstead-10.bdf.ps: bedstead
|
||||
./bedstead --bdfgen > bedstead-10.bdf.ps
|
||||
bedstead-%.bdf.ps: bedstead
|
||||
./bedstead --bdfgen $* > $@
|
||||
|
||||
bedstead-10.bdf: bedstead-10.bdf.ps
|
||||
gs -q -P -dSAFER -dNODISPLAY -dBATCH bedstead-10.bdf.ps \
|
||||
> bedstead-10.bdf
|
||||
bedstead-bold-%.bdf.ps: bedstead
|
||||
./bedstead --bold --bdfgen $* > $@
|
||||
|
||||
%-10.bdf %-20.bdf: %.sfd
|
||||
fontforge -lang=ff \
|
||||
-c 'Open($$1); BitmapsAvail([10, 20]); Generate($$2, "bdf")' \
|
||||
$< $*.
|
||||
# Dependency of all of OTFFILES could be narrowed to just the relevant
|
||||
# one.
|
||||
%.bdf: %.bdf.ps $(OTFFILES)
|
||||
gs -q -P -dSAFER -dNODISPLAY -dBATCH $< > $@
|
||||
|
||||
%.otf: %.sfd
|
||||
fontforge -lang=ff \
|
||||
@ -108,7 +107,8 @@ bedstead-complement.pdf: bedstead-complement.ps bedstead.otf Fontmap
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f bedstead *.sfd *.otf *.bdf *.png *.pdf bedstead-complement.ps
|
||||
rm -f bedstead *.sfd *.otf *.bdf *.bdf.ps *.png *.pdf \
|
||||
bedstead-complement.ps
|
||||
|
||||
.PHONY: install-user
|
||||
install-user: $(OTFFILES)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user