diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index 25320d43d..a61a32c25 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -259,7 +259,8 @@ class FreeTypeFont: :return: (width, height) """ - # vertical offset is added for historical reasons, see discussion in #4789 + # vertical offset is added for historical reasons + # see https://github.com/python-pillow/Pillow/pull/4910#discussion_r486682929 size, offset = self.font.getsize(text, False, direction, features, language) return ( size[0] + stroke_width * 2,