1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-25 21:33:09 +02:00
antorcha/tornado/fw/txt/txt2xbm
Werner Almesberger a5694eba05 tornado/fw/txt/: tools for text conversion
txt2xbm: convert text to XBM, using ghostscript
stretch: resample XBM with rotation correction (x-axis only)
xbm2gp: convert XBM to gnuplot, taking into account rotation
plot: plot xbm2gp output
t: run all the above to display "TEST"
2012-12-04 00:56:36 -03:00

10 lines
155 B
Bash
Executable File

#!/bin/sh
gs -sDEVICE=pbmraw -sOutputFile=- -g256x64 -q - <<EOF | pbmtoxbm
/Helvetica-Bold findfont
80 scalefont
setfont
0 4 moveto
($1) show
showpage
EOF