Fix font size
This commit is contained in:
1 parent
3515afe7f1
commit
40e42b1307
1 file changed
+2
-2
@@ -68,9 +68,9 @@ def imagemaker(theme, reddit_obj: dict, txtclr, padding=5, transparent=False) ->
|
||||
tfont = ImageFont.truetype(os.path.join("fonts", "Roboto-Bold.ttf"), 50)
|
||||
else:
|
||||
tfont = ImageFont.truetype(
|
||||
os.path.join("fonts", "Roboto-Bold.ttf"), 35
|
||||
os.path.join("fonts", "Roboto-Bold.ttf"), 100
|
||||
) # for title
|
||||
font = ImageFont.truetype(os.path.join("fonts", "Roboto-Regular.ttf"), 30)
|
||||
font = ImageFont.truetype(os.path.join("fonts", "Roboto-Regular.ttf"), 90)
|
||||
size = (1920, 1080)
|
||||
|
||||
image = Image.new("RGBA", size, theme)
|
||||
|
||||
Reference in new issue
Block a user