2 # ----------------------------------------------------------------------------
3 # "THE BEER-WARE LICENSE" (Revision 42):
4 # <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5 # can do whatever you want with this stuff. If we meet some day, and you think
6 # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 # ----------------------------------------------------------------------------
9 # $FreeBSD: src/share/examples/BSD_daemon/poster.sh,v 1.1.2.1 2001/03/04 09:19:24 phk Exp $
10 # $DragonFly: src/share/examples/BSD_daemon/Attic/poster.sh,v 1.2 2003/06/17 04:36:57 dillon Exp $
21 /mm {25.4 div 72 mul} def
22 /FreeBSD findfont 120 scalefont setfont
23 /center 210 mm 2 div def
25 /cshow { dup stringwidth pop 2 div neg 0 rmoveto show } def
27 % "FreeBSD" across the top.
28 % 691 is "top - height of caps - (left - X("F"))"
32 % Put beastie in the center
35 384 sc mul 2 div neg 0 rmoveto
36 gsave currentpoint translate sc sc scale beastie grestore
38 % A box for the bottom text
41 210 mm 20 sub 0 rlineto
43 210 mm 20 sub neg 0 rlineto
51 /NRBWelshGillianBold findfont 50 scalefont setfont
54 (http://www.FreeBSD.org) cshow
56 % Do not forget Kirks copyright string.
58 /Times-Roman findfont 8 scalefont setfont
60 /Symbol findfont 8 scalefont setfont
62 /Times-Roman findfont 8 scalefont setfont
63 (Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.) show