From 64cafa579a8bcc89da9ab1ce5fa34b8f3278ac89 Mon Sep 17 00:00:00 2001 From: ranomier Date: Tue, 3 Dec 2024 04:12:21 +0100 Subject: [PATCH] made the example file more useful --- main.sh | 2 +- text.pango.example | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 44cc2c3..0b9262d 100755 --- a/main.sh +++ b/main.sh @@ -20,7 +20,7 @@ SCRIPT_DIR="$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P)" export SCRIPT_DIR P_PATH="$SCRIPT_DIR/label.jpg" -I_TEXT="$(cat "$SCRIPT_DIR"/text.pango 2>/dev/null || echo 'example text')" +I_TEXT="$(cat "$SCRIPT_DIR"/text.pango.example 2>/dev/null || echo 'example text')" P_PATH="${PICTURE_PATH:-$P_PATH}" I_TEXT="${IMAGE_TEXT:-$I_TEXT}" diff --git a/text.pango.example b/text.pango.example index 21d0393..96414c9 100644 --- a/text.pango.example +++ b/text.pango.example @@ -1 +1,3 @@ Pretty example text with Pango +Find documentation here: +https://usage.imagemagick.org/text/#pango