From: lbcmk <30442978+lbcmk@users.noreply.github.com> Date: Wed, 6 Jul 2022 22:02:06 +0000 (-0400) Subject: Changed font to Exo2 X-Git-Url: http://git.skullheadx.com/now.html?a=commitdiff_plain;h=2a4846b5fa282372c3805e8ae529ce67aa96782c;p=Pygame-Jam.git Changed font to Exo2 --- diff --git a/Font/Lato-Bold.ttf b/Font/Lato-Bold.ttf deleted file mode 100644 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 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 index bb2e887..0000000 Binary files a/Font/Lato-Regular.ttf and /dev/null differ diff --git a/Function/createText.py b/Function/createText.py index 8e08e3d..409dfbc 100644 --- a/Function/createText.py +++ b/Function/createText.py @@ -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"):