update link in comment

This commit is contained in:
nulano 2020-09-11 01:14:00 +02:00
parent d1edf86953
commit a501ba9308

View File

@ -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,