xref: /freebsd/share/examples/BSD_daemon/eps.patch (revision 3903274f0215746c9970c684029d2e9d9e6bc64c)
13903274fSPoul-Henning Kamp# $FreeBSD$
23903274fSPoul-Henning Kamp--- beastie.eps.ref	Sun Feb 11 22:46:59 2001
33903274fSPoul-Henning Kamp+++ beastie.eps	Sun Feb 11 23:01:43 2001
43903274fSPoul-Henning Kamp@@ -8,6 +8,22 @@
53903274fSPoul-Henning Kamp %%EndComments
63903274fSPoul-Henning Kamp /$F2psDict 200 dict def
73903274fSPoul-Henning Kamp $F2psDict begin
83903274fSPoul-Henning Kamp+
93903274fSPoul-Henning Kamp+% This controls the linethickness.  I think large posters look better if
103903274fSPoul-Henning Kamp+% you use a value of 2.  Small daemons looks better with a value of 1.
113903274fSPoul-Henning Kamp+/linethickness 1 def
123903274fSPoul-Henning Kamp+
133903274fSPoul-Henning Kamp+% If you want to fiddle the colors:
143903274fSPoul-Henning Kamp+% col0  below is black (the lines)
153903274fSPoul-Henning Kamp+% col7  below is white (eyes, shoes)
163903274fSPoul-Henning Kamp+% col13 below is green (the shooes)
173903274fSPoul-Henning Kamp+% col20 below is red (the daemon)
183903274fSPoul-Henning Kamp+% col31 below is gold (the pitchfork)
193903274fSPoul-Henning Kamp+
203903274fSPoul-Henning Kamp+% This sets round ends on the lines, this looks better than sharp edges
213903274fSPoul-Henning Kamp+% but I have not found a way to convince xfig to do this.
223903274fSPoul-Henning Kamp+1 setlinecap
233903274fSPoul-Henning Kamp+
243903274fSPoul-Henning Kamp $F2psDict /mtrx matrix put
253903274fSPoul-Henning Kamp /col-1 {0 setgray} bind def
263903274fSPoul-Henning Kamp /col0 {0.000 0.000 0.000 srgb} bind def
273903274fSPoul-Henning Kamp@@ -63,7 +79,7 @@
283903274fSPoul-Henning Kamp /sh {show} bind def
293903274fSPoul-Henning Kamp /slc {setlinecap} bind def
303903274fSPoul-Henning Kamp /slj {setlinejoin} bind def
313903274fSPoul-Henning Kamp-/slw {setlinewidth} bind def
323903274fSPoul-Henning Kamp+/slw {linethickness mul setlinewidth} bind def
333903274fSPoul-Henning Kamp /srgb {setrgbcolor} bind def
343903274fSPoul-Henning Kamp /rot {rotate} bind def
353903274fSPoul-Henning Kamp /sc {scale} bind def
36