From 61c9c6f9bda40ef8409934c666b5ea79c2f77f73 Mon Sep 17 00:00:00 2001 From: morrme Date: Fri, 19 May 2017 03:11:58 -0500 Subject: [PATCH] add combined prefix to fpfix.py see #119 --- bin/scripts/fpfix.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/scripts/fpfix.py b/bin/scripts/fpfix.py index c836b25e4..cde3ab457 100755 --- a/bin/scripts/fpfix.py +++ b/bin/scripts/fpfix.py @@ -13,7 +13,7 @@ import sys from fontTools import ttLib if len(sys.argv) < 2: - sys.stderr.write("[fpfix.py] ERROR: Please enter a path to the font file") + sys.stderr.write("# [Nerd Fonts] [fpfix.py] ERROR: Please enter a path to the font file") sys.exit(1) try: @@ -21,9 +21,9 @@ try: post = tt["post"].__dict__ post["isFixedPitch"] = 1 tt.save(sys.argv[1]) - print("[fpfix.py]: '" + sys.argv[1] + "' fixed pitch setting was changed to 1 in the post table") + print("# [Nerd Fonts] [fpfix.py]: '" + sys.argv[1] + "' fixed pitch setting was changed to 1 in the post table") except Exception as e: - sys.stderr.write("[fpfix.py] ERROR: Unable to update the font isFixedPitch setting. " + str(e)) + sys.stderr.write("# [Nerd Fonts] [fpfix.py] ERROR: Unable to update the font isFixedPitch setting. " + str(e)) sys.exit(1)