Pixel operator fonts added and tested -> 2025-01-26 18:40:11

This commit is contained in:
pepev-nrt 2025-01-26 18:40:33 +01:00
parent c0ad5f0302
commit af6af03404
2 changed files with 13 additions and 27 deletions

View file

@ -41,12 +41,13 @@ def main():
assets = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'assets')
fonts = os.path.join(assets, 'fonts')
# Drawing on the image
font15 = ImageFont.truetype(os.path.join(assets, 'wavesharefont.ttc'), 15)
font24 = ImageFont.truetype(os.path.join(assets, 'wavesharefont.ttc'), 24)
font8 = ImageFont.truetype(os.path.join(os.path.join(assets, 'pixel_operator'), 'PixelOperator8.ttf'), 8)
font16 = ImageFont.truetype(os.path.join(os.path.join(assets, 'pixel_operator'), 'PixelOperator.ttf'), 16)
font16_bold = ImageFont.truetype(os.path.join(os.path.join(assets, 'pixel_operator'), 'PixelOperator-Bold.ttf'), 16)
font15 = ImageFont.truetype(os.path.join(fonts, 'wavesharefont.ttc'), 15)
font24 = ImageFont.truetype(os.path.join(fonts, 'wavesharefont.ttc'), 24)
font8 = ImageFont.truetype(os.path.join(os.path.join(fonts, 'pixel_operator'), 'PixelOperator8.ttf'), 8)
font16 = ImageFont.truetype(os.path.join(os.path.join(fonts, 'pixel_operator'), 'PixelOperator.ttf'), 16)
font16_bold = ImageFont.truetype(os.path.join(os.path.join(fonts, 'pixel_operator'), 'PixelOperator-Bold.ttf'), 16)