xref: /freebsd/share/examples/BSD_daemon/eps.patch (revision 315ee00f)
1--- beastie.eps.ref	Sun Feb 11 22:46:59 2001
2+++ beastie.eps	Sun Feb 11 23:01:43 2001
3@@ -19,6 +19,23 @@
4 %
5 /$F2psDict 200 dict def
6 $F2psDict begin
7+
8+% This controls the linethickness.  I think large posters look better if
9+% you use a value of 2.  Small daemons looks better with a value of 1.
10+/linethickness 1 def
11+
12+% If you want to fiddle the colors:
13+% col0  below is black (the lines)
14+% col3  below is cyan (the shoelaces)
15+% col7  below is white (eyes, shoes)
16+% col13 below is green (the shooes)
17+% col20 below is red (the daemon)
18+% col31 below is gold (the pitchfork)
19+
20+% This sets round ends on the lines, this looks better than sharp edges
21+% but I have not found a way to convince xfig to do this.
22+1 setlinecap
23+
24 $F2psDict /mtrx matrix put
25 /col-1 {0 setgray} bind def
26 /col0 {0.000 0.000 0.000 srgb} bind def
27@@ -74,7 +91,7 @@
28 /sh {show} bind def
29 /slc {setlinecap} bind def
30 /slj {setlinejoin} bind def
31-/slw {setlinewidth} bind def
32+/slw {linethickness mul setlinewidth} bind def
33 /srgb {setrgbcolor} bind def
34 /rot {rotate} bind def
35 /sc {scale} bind def
36