Path: blob/main/share/examples/BSD_daemon/poster.sh
39476 views
#!/bin/sh1# ----------------------------------------------------------------------------2# "THE BEER-WARE LICENSE" (Revision 42):3# <[email protected]> wrote this file. As long as you retain this notice you4# can do whatever you want with this stuff. If we meet some day, and you think5# this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp6# ----------------------------------------------------------------------------7#8#910echo '%!'11echo '/beastie {'12cat beastie.eps13echo '} def'14cat FreeBSD.pfa1516echo '1718/mm {25.4 div 72 mul} def19/FreeBSD findfont 120 scalefont setfont20/center 210 mm 2 div def21/top 297 mm def22/cshow { dup stringwidth pop 2 div neg 0 rmoveto show } def2324% "FreeBSD" across the top.25% 691 is "top - height of caps - (left - X("F"))"26center 691 moveto27(FreeBSD) cshow2829% Put beastie in the center30/sc 1.25 def31center 125 moveto32384 sc mul 2 div neg 0 rmoveto33gsave currentpoint translate sc sc scale beastie grestore3435% A box for the bottom text36gsave3710 30 moveto38210 mm 20 sub 0 rlineto390 70 rlineto40210 mm 20 sub neg 0 rlineto41closepath42.7 .7 .9 setrgbcolor43fill44grestore4546% Bottom text47center 90 moveto48/FreeBSD findfont 50 scalefont setfont4950center 50 moveto51(https://www.FreeBSD.org) cshow5253% Do not forget Kirks copyright string.5410 105 moveto55/Times-Roman findfont 8 scalefont setfont56(BSD Daemon ) show57/Symbol findfont 8 scalefont setfont58(\343 ) show59/Times-Roman findfont 8 scalefont setfont60(Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.) show6162showpage63'646566