threading.Thread(name = "MSClic", target=key.list_actions, args = [screen]).start()
draw_lock.acquire()
- if getattr(sys, 'frozen', False):
- icon_police = pygame.font.Font(sys._MEIPASS + "/Symbola.ttf", 19)
- police = pygame.font.Font(sys._MEIPASS + "/Ubuntu-Regular.ttf", 14)
- else:
- icon_police = pygame.font.Font("Symbola.ttf", 19)
- police = pygame.font.Font("Ubuntu-Regular.ttf", 14)
+ police = helpers.font(14)
+ icon_police = helpers.font(14, font = "Symbola")
surface = pygame.Surface((208, 250)).convert()
surface.fill((250, 250, 250))