home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fontutils-0.6 / bin / imagestrip next >
Encoding:
Text File  |  1992-10-02  |  440 b   |  26 lines

  1. #!/bin/sh
  2.  
  3. if test $# -ne 1
  4. then
  5.   echo "Usage: $0 <img file>[.img]"
  6.   exit 1
  7. fi
  8.  
  9. input=`basename $1 .img`
  10.  
  11. # Show an image via -strips.
  12. imageto -verbose -strips ${input}.img
  13.  
  14. rm -f ${input}sp.tfm
  15. fontconvert -verbose -tfm ./${input}sp.1200
  16.  
  17. gftopk -v ./${input}sp.1200gf
  18. rm -f ${input}sp.1200gf
  19.  
  20. echo ./${input}sp | tex $research/imageto/strips
  21. mv strips.dvi ${input}sp.dvi
  22.  
  23. rm strips.log ${input}sp.pl
  24.  
  25. exec xdvi -p 1200 -s 12 ${input}sp
  26.