You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 23, 2020. It is now read-only.
I like to use this application for alpha keying subtitles on my livestream.
Is it possible to add the following features?
Outline / shadow for fonts. Configurable in config.json: outline-size, fill-color
Configure the background- and text color in the config.json (in my case: #00FF00 / #FFFFFF)
Like:
import ptext
screen = pygame.display.set_mode((854, 480))
screen.fill((0, 255, 0))
ptext.draw("And there I find You in the mystery", (20, 70), fontsize=70, shadow=(0.1,0.1), scolor="#202020", sysfontname="Quebab Shadow FFP", owidth=0.5, ocolor=(0,0,0), color=(255,255,255))
pygame.display.flip()
while not any(event.type in (pygame.KEYDOWN, pygame.QUIT) for event in pygame.event.get()):
pass