Require font parameter in FreeTypeFont

This commit is contained in:
Andrew Murray 2024-07-25 18:45:38 +10:00
parent 6dd4b3c826
commit d0d4227515

View File

@ -203,7 +203,7 @@ class FreeTypeFont:
def __init__(
self,
font: StrOrBytesPath | BinaryIO | None = None,
font: StrOrBytesPath | BinaryIO,
size: float = 10,
index: int = 0,
encoding: str = "",