pbmtopk+pktopbm Part02/02
Angus Duggan
ajcd at cs.ed.ac.uk
Thu Aug 9 22:20:52 AEST 1990
#! /bin/sh
# This is a shell archive. Remove anything before this line, then feed it
# into a shell via "sh file" or similar. To overwrite existing files,
# type "sh file -c".
# The tool that generated this appeared in the comp.sources.unix newsgroup;
# send mail to comp-sources-unix at uunet.uu.net if you want that tool.
# If this archive is complete, you will see the following message at the end:
# "End of archive 2 (of 2)."
# Contents: Makefile face.pbm test.opt test.tex
# Wrapped by ajcd at harpo on Thu Aug 9 13:01:45 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'Makefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'Makefile'\"
else
echo shar: Extracting \"'Makefile'\" \(452 characters\)
sed "s/^X//" >'Makefile' <<'END_OF_FILE'
X# Simple makefile for pbmtopk & pktopbm
X# AJCD 9/8/90
X
X#CC=gcc-1.37.1
X#CFLAGS=-I. -O
X
Xall: pbmtopk pktopbm
X
Xtest: test.dvi
X
Xpbmtopk: pbmtopk.c
X $(CC) $(CFLAGS) -o pbmtopk pbmtopk.c -lm -lpbm
X
Xpktopbm: pktopbm.c
X $(CC) $(CFLAGS) -o pktopbm pktopbm.c -lm -lpbm
X
Xtest.dvi: test.tex test.tfm
X tex test
X
Xtest.tfm: pbmtopk test.opt
X pbmtopk test.300pk test.tfm 300 -s 10 -c 65 -f test.opt
X
Xclean:
X rm -f pbmtopk pktopbm test.dvi test.log test.tfm test.300pk
END_OF_FILE
echo shar: NEWLINE appended to \"'Makefile'\"
if test 453 -ne `wc -c <'Makefile'`; then
echo shar: \"'Makefile'\" unpacked with wrong size!
fi
# end of 'Makefile'
fi
if test -f 'face.pbm' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'face.pbm'\"
else
echo shar: Extracting \"'face.pbm'\" \(4169 characters\)
sed "s/^X//" >'face.pbm' <<'END_OF_FILE'
XP1
X64 64
X0111110100000000010110101110101001000010100000010000000000001001
X0011011101011011010110111111011010010100000101000101000010100000
X1111101010000101011011011110101001010010101000010000010001000001
X0011110100101010110110111111110101011101000010100010100101011000
X1111011011001011101011111010101010101010010000010100001000110000
X0110110100101010111101011011111101011011010101010000010010000100
X1111010101010101101111111101100101010100101010101010100100000000
X0101010010101011011111010101011010110101010110101010010001000000
X1110100110111010111110101101010101111101101101101001001000000000
X0100010101010101011101010111101110101010111110101011010101001010
X0001001111010000000010010101110101010101010000000100100101010000
X0100011101010101001000101011011101101010101010000001010101010010
X0010110101101000000010000111110110101001000000000000010101010100
X1000111111010000010000010001010101010000010000000001010101010000
X0011110110101001000000000000100010000100000000000000101110101010
X0010111111010100000101000100001000000000000000000100011011010100
X0101011111100000010000000000000000000000000000000000111111110101
X0001111111110101000100000000000000000000000000000000011111111010
X0111111111000000000001000000000000000000100000000000111111111100
X1011111111101010001000010001000000000000000100010000011101111111
X0111111111010000000000000000000000000000000000000010111111111010
X0001110111100101001001000000001000000000000000000000011111111110
X0111111111010000000000000000000000000000000000100000111111011100
X0010111111101010100000000100000000000000000000000010011111111101
X0001111111000000000000100000000000000100000000000000111011111010
X1010111111010100000000000000100000100000000000000100011111110100
X0001011111000001001010010100001000000000000000000000011111111010
X0100111111110100010001010010100010010100010010000010001111110100
X0001011011000010101101111010001000101010100000000000011111110010
X0100101111001000010011110101100010101010100101010000101110111100
X0001011111100010101101001010010001010101110100000000011111110010
X0100000101001001010010110001000000010101110101010100001111101000
X0010001011000000000000000100000000000000001000000000010100011101
X1000100001010010000100100000100000000100100000000000000100000110
X0000001010000000100000000010000000100000000001000000010010010101
X0010100010101000000100100000100000000001000000000000000100001011
X0100000100000010000000000100000000000000000000000000100000000100
X0010101001011000000000000001000000000000001000000010000000010101
X1010111000100001000000000000010000000000000000000000000000100010
X0001110101000100000100001001000000001000000001001001001000010101
X0101110000101001000000000000000000000000000000000000000010001001
X0000111010010000010000100101010010100000000000010001001001010010
X0101001010100101000000000010100101010010000000000100000010101101
X0000100001010000000100000101011011100000010001000000001010000101
X0000001010100100100000100010101000010000000000001001010001010101
X0010100010010000000000001000100101000000000000000000001010101011
X0000001001000101001001000010001000000000000100010001010101010111
X0010101010010000000000001000100100001001000000000000010101001011
X0100010001000100100010100101010010000000010000100010011010100111
X1000101010010000001000010111111111110101000000000000001101001011
X0101010100100101000000001010101000101000000000010010100110101111
X1010010010001000000100100001010101000001001001000000001010101111
X0001101000100100100000000100101010010000000000001010101101011111
X0110010010010001001010100001000001000010001000100000001010101111
X1010101001000100010000001000010000001000000010001001101100111111
X0101010010000010100010100000000100000000101000100100010101011111
X1110101001010000010100000100000000000000000010000001111000111111
X1010100101001010100000100000000000000001001000010010110010111111
X0101010010010001001010001001001010010000010010000101100101110111
X1010100100000110010010100100100001000101001001000011010100111111
X0101001001010010001000100010010100101001000100000101101011111111
X1010100100101100100101001001001001010010010000000010010100111111
X0100010001001001000010101010010101001001000000000101101011111111
X0101000101010100010100010000100010010100000001000010011111111111
END_OF_FILE
echo shar: NEWLINE appended to \"'face.pbm'\"
if test 4170 -ne `wc -c <'face.pbm'`; then
echo shar: \"'face.pbm'\" unpacked with wrong size!
fi
# end of 'face.pbm'
fi
if test -f 'test.opt' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'test.opt'\"
else
echo shar: Extracting \"'test.opt'\" \(213 characters\)
sed "s/^X//" >'test.opt' <<'END_OF_FILE'
X% pbmtopk option file for the 'test font.
X% invoke with: pbmtopk test.300pk test.tfm 300 -s 10 -c 65 -f test.opt
X%
X% character 'A': small 64x64 version of my face.
Xface.pbm
X% character 'B': my name.
Xsign.pbm * 57
END_OF_FILE
echo shar: NEWLINE appended to \"'test.opt'\"
if test 214 -ne `wc -c <'test.opt'`; then
echo shar: \"'test.opt'\" unpacked with wrong size!
fi
# end of 'test.opt'
fi
if test -f 'test.tex' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'test.tex'\"
else
echo shar: Extracting \"'test.tex'\" \(218 characters\)
sed "s/^X//" >'test.tex' <<'END_OF_FILE'
X% test.tex
X% test file for simple font produced by pbmtopk.
X% AJCD 9 Aug 90
X
X\font\test=test
X
XThis is a test of the font produced with pbmtopk; character A is {\test A},
Xand character B is {\test B}.
X
X\vfil\eject
X\bye
END_OF_FILE
echo shar: NEWLINE appended to \"'test.tex'\"
if test 219 -ne `wc -c <'test.tex'`; then
echo shar: \"'test.tex'\" unpacked with wrong size!
fi
# end of 'test.tex'
fi
echo shar: End of archive 2 \(of 2\).
cp /dev/null ark2isdone
MISSING=""
for I in 1 2 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked both archives.
rm -f ark[1-9]isdone
else
echo You still need to unpack the following archives:
echo " " ${MISSING}
fi
## End of shell archive.
exit 0
More information about the Alt.sources
mailing list