rect_replace.py script was updated.
This sounds crazy but it was actually quite easy as I could use a free font data.
/opt/rtcds/caltech/c1/medm/c1lsc/master/generateLSCscreen/rect_replace.py
Usage:
cat C1LSC_OVERVIEW_ADC.adl | ./rect_replace.py > tmp.adl
Description:
The script takes stdin and spits the result to stdout. It parses a given ADL file. When a "rectangle" object
with Channel A with a string "REPLACE_XXXX", it replaces it with the objects predefined as "XXXX".
Now new type "CHAR" (i.e. REPLACE_CHAR) was added. This replaces the string in Channel B slot
into 5x7 dot matrix representation of the string with the specified color. The dot size is derived from the
height of the original rectangular object.
|