Skip to content

Commit

Permalink
Corrected font case.
Browse files Browse the repository at this point in the history
  • Loading branch information
sw104 committed May 15, 2020
1 parent 33cbc16 commit 8503355
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/font.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ class Font(object):
def __init__(self, directory):
self.directory = directory
pygame.font.init()
self.FONT = pygame.font.Font(os.path.join(self.directory, "freesansbold.ttf"), 24)
self.largeFont = pygame.font.Font(os.path.join(self.directory, "freesansbold.ttf"), 28)
self.mediumFont = pygame.font.Font(os.path.join(self.directory, "freesansbold.ttf"), 24)
self.smallFont = pygame.font.Font(os.path.join(self.directory, "freesansbold.ttf"), 20)
self.tinyFont = pygame.font.Font(os.path.join(self.directory, "freesansbold.ttf"), 16)
self.menu_font = pygame.font.Font(os.path.join(self.directory, "freesansbold.ttf"), 28)
self.FONT = pygame.font.Font(os.path.join(self.directory, "FreeSansBold.ttf"), 24)
self.largeFont = pygame.font.Font(os.path.join(self.directory, "FreeSansBold.ttf"), 28)
self.mediumFont = pygame.font.Font(os.path.join(self.directory, "FreeSansBold.ttf"), 24)
self.smallFont = pygame.font.Font(os.path.join(self.directory, "FreeSansBold.ttf"), 20)
self.tinyFont = pygame.font.Font(os.path.join(self.directory, "FreeSansBold.ttf"), 16)
self.menu_font = pygame.font.Font(os.path.join(self.directory, "FreeSansBold.ttf"), 28)

0 comments on commit 8503355

Please sign in to comment.