From: Ben Harris Date: Sat, 23 Nov 2013 19:11:19 +0000 (+0000) Subject: Mechanism for making a 10-pixel DF font. X-Git-Tag: bedstead-001.000~51 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=e46dd526523a9c6e2a5155f200dc0f1e27db270d;p=bedstead.git Mechanism for making a 10-pixel DF font. --- diff --git a/Makefile b/Makefile index f99e72e..2c1a1f5 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/df.ps b/df.ps index 3a16856..5f70038 100644 --- a/df.ps +++ b/df.ps @@ -1,4 +1,3 @@ -/size 20 def /pw size 16 mul 6 mul 10 div def /ph size 16 mul def << /HWResolution [ 72 72 ]