freebsd-dev/share/examples/BSD_daemon/poster.sh
Eitan Adler a2aef24aa3 Update several more URLs
- Primarily http -> https
- Primarily FreeBSD project URLs
2017-10-29 08:17:03 +00:00

66 lines
1.5 KiB
Bash

#!/bin/sh
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
# ----------------------------------------------------------------------------
#
# $FreeBSD$
#
echo '%!'
echo '/beastie {'
cat beastie.eps
echo '} def'
cat FreeBSD.pfa
echo '
/mm {25.4 div 72 mul} def
/FreeBSD findfont 120 scalefont setfont
/center 210 mm 2 div def
/top 297 mm def
/cshow { dup stringwidth pop 2 div neg 0 rmoveto show } def
% "FreeBSD" across the top.
% 691 is "top - height of caps - (left - X("F"))"
center 691 moveto
(FreeBSD) cshow
% Put beastie in the center
/sc 1.25 def
center 125 moveto
384 sc mul 2 div neg 0 rmoveto
gsave currentpoint translate sc sc scale beastie grestore
% A box for the bottom text
gsave
10 30 moveto
210 mm 20 sub 0 rlineto
0 70 rlineto
210 mm 20 sub neg 0 rlineto
closepath
.7 .7 .9 setrgbcolor
fill
grestore
% Bottom text
center 90 moveto
/FreeBSD findfont 50 scalefont setfont
center 50 moveto
(https://www.FreeBSD.org) cshow
% Do not forget Kirks copyright string.
10 105 moveto
/Times-Roman findfont 8 scalefont setfont
(BSD Daemon ) show
/Symbol findfont 8 scalefont setfont
(\343 ) show
/Times-Roman findfont 8 scalefont setfont
(Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.) show
showpage
'