From 4348312d69076ec3bde9146ef320bf80ff28b7e6 Mon Sep 17 00:00:00 2001 From: Amir Pourmand Date: Wed, 4 Oct 2023 12:55:33 +0000 Subject: [PATCH] Add Support font UpperCase Fonts --- trdg/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trdg/run.py b/trdg/run.py index 65edd1291..78b484910 100755 --- a/trdg/run.py +++ b/trdg/run.py @@ -377,7 +377,7 @@ def main(): fonts = [ os.path.join(args.font_dir, p) for p in os.listdir(args.font_dir) - if os.path.splitext(p)[1] == ".ttf" + if os.path.splitext(p)[1].lower() == ".ttf" ] elif args.font: if os.path.isfile(args.font):