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