#!/usr/bin/bash
declare -r SVG='./Ergo-L.svg'
declare -ri DELTA=40
declare -ri WIDTH=1920
declare -ri HEIGHT=1080
# use-key ID X Y
function use-key() (
echo ' ' >>$SVG
)
# use-symbol X Y CHAR [CHAR…]
# ----
# |2 4|
# | |
# |1 3|
# ----
function use-symbol() (
declare -r X0=$1 Y0=$2
echo "0=> $#"
shift 2
echo "1=> $#"
while [ $# -gt 0 ]
do
echo ' '"$1"'' >>$SVG
shift 1
echo "2=> $#"
done
)
echo '
' >>$SVG
cat $SVG