mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
for htmlroff
This commit is contained in:
parent
5801105701
commit
41beebe4c3
1 changed files with 9 additions and 0 deletions
9
bin/troff2png
Executable file
9
bin/troff2png
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/local/plan9/bin/rc
|
||||
|
||||
9 troff -ms $* | tr2post |
|
||||
gs -g1000x1000 -r144 -dNOPAUSE -dQUIET \
|
||||
'-dGraphicsAlphaBits=4' '-dTextAlphaBits=4' \
|
||||
'-sOUTPUTFILE=-' '-sDEVICE=png16m' - quit.ps | 9 png -9t |
|
||||
9 crop -c 255 255 255 |
|
||||
9 topng
|
||||
|
Loading…
Reference in a new issue