diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index c29562135..f5cf73a96 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -712,7 +712,6 @@ class TransposedFont: if self.orientation in (Image.Transpose.ROTATE_90, Image.Transpose.ROTATE_270): msg = "text length is undefined for text rotated by 90 or 270 degrees" raise ValueError(msg) - _string_length_check(text) return self.font.getlength(text, *args, **kwargs)