mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix typo
This commit is contained in:
parent
5631e07174
commit
e98e3a1d99
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def _drawtext(align, resolution, text, options):
|
|||
|
||||
elif align in (ffmpeg_burnins.TOP_RIGHT, ffmpeg_burnins.BOTTOM_RIGHT):
|
||||
ifont = ImageFont.truetype(options["font"], options["font_size"])
|
||||
if hasattr(ifont, "getbox"):
|
||||
if hasattr(ifont, "getbbox"):
|
||||
left, top, right, bottom = ifont.getbbox(text)
|
||||
box_size = right - left, bottom - top
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue