mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2025-04-21 12:27:27 +03:00
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"
This commit is contained in:
9
tornado/fw/txt/txt2xbm
Executable file
9
tornado/fw/txt/txt2xbm
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
gs -sDEVICE=pbmraw -sOutputFile=- -g256x64 -q - <<EOF | pbmtoxbm
|
||||
/Helvetica-Bold findfont
|
||||
80 scalefont
|
||||
setfont
|
||||
0 4 moveto
|
||||
($1) show
|
||||
showpage
|
||||
EOF
|
||||
Reference in New Issue
Block a user