# Use a highlight cursor for DVD titles (drawn later, for now just text)
else
ENTRY="${TITLES[i]}"
# Get the width of the text and pad it
TILE_WIDTH=$(convert -size 720x200 xc:none -fill $TEXT_COLOR -pointsize $TITLE_SIZE -font $TITLE_FONT -antialias $FONT_DECO -annotate +20+80 "$ENTRY" -trim +repage info: | awk '{print $3}' | awk -F 'x' '{print $1}')
let "TILE_WIDTH=TILE_WIDTH+TITLE_LEFT_SPACE"
# Draw the text, and put it on a blank tile
convert -size 720x100 xc:none -font $TITLE_FONT -antialias $FONT_DECO -fill $TEXT_COLOR -pointsize $TITLE_SIZE -annotate +20+80 "$ENTRY" -trim +repage "$TMP_DIR/00_title-$SEQNUM.png"
convert -size ${TILE_WIDTH}x${TILE_HEIGHT} xc:none "$TILE_CANVAS"
composite -compose Over -gravity northeast \
"$TMP_DIR/00_title-$SEQNUM.png" "$TILE_CANVAS" \
"$TMP_DIR/00_title-$SEQNUM.png"
# Blank placeholder: no font decorations or color
DIMS=$(identify "$TMP_DIR/00_title-$SEQNUM.png" | grep -o -e " [0-9]\{1,\}x[0-9]\{1,\} " | tr -d ' ')
convert \
-size $DIMS xc:none "$TMP_DIR/00_title-${SEQNUM}_placeholder.png"
fi