]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
Changed font to Exo2
authorlbcmk <30442978+lbcmk@users.noreply.github.com>
Wed, 6 Jul 2022 22:02:06 +0000 (18:02 -0400)
committerlbcmk <30442978+lbcmk@users.noreply.github.com>
Wed, 6 Jul 2022 22:02:06 +0000 (18:02 -0400)
Font/Lato-Bold.ttf [deleted file]
Font/Lato-Light.ttf [deleted file]
Font/Lato-Regular.ttf [deleted file]
Function/createText.py

diff --git a/Font/Lato-Bold.ttf b/Font/Lato-Bold.ttf
deleted file mode 100644 (file)
index 016068b..0000000
Binary files a/Font/Lato-Bold.ttf and /dev/null differ
diff --git a/Font/Lato-Light.ttf b/Font/Lato-Light.ttf
deleted file mode 100644 (file)
index dfa72ce..0000000
Binary files a/Font/Lato-Light.ttf and /dev/null differ
diff --git a/Font/Lato-Regular.ttf b/Font/Lato-Regular.ttf
deleted file mode 100644 (file)
index bb2e887..0000000
Binary files a/Font/Lato-Regular.ttf and /dev/null differ
index 8e08e3d5cd93b4d1edf7d233f0fb8bb1eb65d052..409dfbce6e17f38bdeb8c5935b11dd7669e38814 100644 (file)
@@ -1,7 +1,7 @@
 from pygame import font
 
 def createText(X, Y, size, textColour, weight, textInfo, alignment = "l"):
-        fontx = font.Font(f"./Font/Lato-{weight}.ttf", size)
+        fontx = font.Font(f"./Font/Exo2-{weight}.ttf", size)
         text = fontx.render(textInfo, True, textColour)
         textRect = text.get_rect()
         if(alignment == "left" or alignment == "l"):