From 13af3303d4a30010753f8b8f286a077f6cd5d4fe Mon Sep 17 00:00:00 2001 From: Cougar Date: Fri, 29 Aug 2025 20:48:23 +0300 Subject: [PATCH] Show font name as a preview title --- fontpreview | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fontpreview b/fontpreview index c4febae..62b5cf2 100755 --- a/fontpreview +++ b/fontpreview @@ -56,6 +56,9 @@ pre_exit() { generate_preview(){ # Credits: https://bit.ly/2UvLVhM magick -size $SIZE xc:"$BG_COLOR" \ + -gravity north \ + -pointsize $FONT_SIZE \ + -annotate +0+0 "$1" \ -gravity center \ -pointsize $FONT_SIZE \ -font "$1" \