Skip to content

Commit 4e05f13

Browse files
committed
Show font name as a preview title
1 parent 82533a6 commit 4e05f13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fontpreview

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ pre_exit() {
5656
generate_preview(){
5757
# Credits: https://bit.ly/2UvLVhM
5858
magick -size $SIZE xc:"$BG_COLOR" \
59+
-gravity north \
60+
-pointsize $FONT_SIZE \
61+
-annotate +0+0 "$1" \
5962
-gravity center \
6063
-pointsize $FONT_SIZE \
6164
-font "$1" \

0 commit comments

Comments
 (0)