1
0

troff2png 228 B

123456789
  1. #!/bin/rc
  2. troff -ms $* | aux/tr2post |
  3. gs -g1000x1600 -r100 -dNOPAUSE -dQUIET \
  4. '-dGraphicsAlphaBits=4' '-dTextAlphaBits=4' \
  5. '-sOUTPUTFILE=-' '-sDEVICE=plan9' - quit.ps |
  6. {crop -c 255 255 255; cat >/dev/null} |
  7. topng