mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Removed unnecessary string length check
This commit is contained in:
		
							parent
							
								
									28c173f8d4
								
							
						
					
					
						commit
						524b823c1b
					
				|  | @ -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) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user