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