Mechanism for making a 10-pixel DF font.

This commit is contained in:
Ben Harris 2013-11-23 19:11:19 +00:00
parent 45fe572acb
commit e46dd52652
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
all: bedstead.otf sample.png title.png
all: bedstead.otf sample.png title.png bedstead-10-df.png bedstead-20-df.png
bedstead.sfd: bedstead
./bedstead > bedstead.sfd
@ -13,8 +13,8 @@ bedstead.sfd: bedstead
gs -dSAFER -sDEVICE=pnggray -dTextAlphaBits=4 \
-o $@ bedstead.pfa $<
df.png: df.ps bedstead.pfa
gs -dSAFER -sDEVICE=png16m \
bedstead-%-df.png: df.ps bedstead.pfa
gs -dSAFER -dsize=$* -sDEVICE=png16m \
-o $@ bedstead.pfa $<
.PHONY: clean

1
df.ps
View File

@ -1,4 +1,3 @@
/size 20 def
/pw size 16 mul 6 mul 10 div def
/ph size 16 mul def
<< /HWResolution [ 72 72 ]