mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
add replacement for getsize_multiline to deprecation warning
This commit is contained in:
parent
303ec1a95e
commit
838b1f1598
|
@ -532,7 +532,7 @@ class FreeTypeFont:
|
|||
|
||||
:return: (width, height)
|
||||
"""
|
||||
deprecate("getsize_multiline", 10)
|
||||
deprecate("getsize_multiline", 10, "ImageDraw.multiline_textbbox")
|
||||
max_width = 0
|
||||
lines = self._multiline_split(text)
|
||||
line_spacing = (
|
||||
|
|
Loading…
Reference in New Issue
Block a user