Properly handle line breaks for text.
This commit is contained in:
parent
978cddca61
commit
56d4f3012e
1 changed files with 1 additions and 2 deletions
3
dcc
3
dcc
|
@ -50,8 +50,7 @@ case $1 in
|
|||
exit $?
|
||||
;;
|
||||
"text")
|
||||
read TEXT
|
||||
LABEL="$(printf "MAP%s: %s\nUV-Max Demo" "${MAPSTR}" "${TEXT}")"
|
||||
LABEL="$(printf "MAP%s: %s\nUV-Max Demo" "${MAPSTR}" "$(cat -)")"
|
||||
convert -background transparent -fill white -font "League-Spartan-Bold" -strokewidth 10 \
|
||||
-stroke "srgb(176,0,0)" -interline-spacing -10 -pointsize 64 -trim +repage -border 5 \
|
||||
-bordercolor transparent -gravity NorthWest \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue