Generate sample images in colour to match Web page

This commit is contained in:
Ben Harris 2024-07-13 15:52:22 +01:00
parent d196eef561
commit 9e018799ce
3 changed files with 5 additions and 1 deletions

View File

@ -83,7 +83,7 @@ bedstead-chiseltip.sfd: strokefont.py bedstead-oc.sfd
$< $*.otf
%.png: %.ps $(OTFFILES) Fontmap
gs -P -q -dSAFER -sDEVICE=pnggray -dTextAlphaBits=4 -o $@ $<
gs -P -q -dSAFER -sDEVICE=png16m -dTextAlphaBits=4 -o $@ $<
bedstead-%-df.png: df.ps bedstead.otf Fontmap
gs -P -q -dSAFER -dsize=$* -sDEVICE=png16m -o $@ $<

View File

@ -1,5 +1,7 @@
/bpx { 5 mul } bind def
<< /HWResolution [ 72 72 ] /PageSize [ 215 bpx 30 bpx ] >> setpagedevice
3 255 div 17 255 div 9 255 div setrgbcolor 0 0 215 bpx 30 bpx rectfill
51 255 div 255 255 div 136 255 div setrgbcolor
/Bedstead findfont 10 bpx scalefont setfont
0 22 bpx moveto (Bedstead) show
/Bedstead-UltraCondensed findfont 80 scalefont setfont

View File

@ -1,5 +1,7 @@
/bpx { 5 mul } bind def
<< /HWResolution [ 72 72 ] /PageSize [ 193 bpx 101 bpx ] >> setpagedevice
3 255 div 17 255 div 9 255 div setrgbcolor 0 0 193 bpx 101 bpx rectfill
51 255 div 255 255 div 136 255 div setrgbcolor
/Bedstead findfont 10 bpx scalefont setfont
/row { %def
0 0 moveto