chiark / gitweb /
Descriptive comment for df.ps.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Nov 2013 19:36:01 +0000 (19:36 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Nov 2013 19:36:01 +0000 (19:36 +0000)
df.ps

diff --git a/df.ps b/df.ps
index 461b4af9a405864cfa9bb156f4c0cb093ad8d492..3df04cb3cc7e8bbb89c3c6d0812cceba47437d5e 100644 (file)
--- a/df.ps
+++ b/df.ps
@@ -1,3 +1,13 @@
+%!
+% This program produces a tileset image suitable for use with
+% Dwarf Fortress.  This is an image with 256 glyphs in a 16x16
+% square, in white on magenta.  The character set is (roughly)
+% IBM Code Page 437.
+%
+% "size" should be defined in systemdict to be the pixel size of font
+% to generate, e.g. using -dsize=10 as a command-line option to
+% Ghostscript.
+%
 /pw size 16 mul 6 mul 10 div def
 /ph size 16 mul def
 << /HWResolution [ 72 72 ]