From 3c1e7a7f5afd4a072ada4e14fad6f708ef082801 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 22 Feb 2022 10:32:02 +1100 Subject: [PATCH] Corrected docstring [ci skip] --- src/PIL/ImageFont.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index 79e7c4b9f9a..f21b6de7188 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -839,7 +839,7 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None): :file:`/System/Library/Fonts/` and :file:`~/Library/Fonts/` on macOS. - :param size: The requested size, in points. + :param size: The requested size, in pixels. :param index: Which font face to load (default is first available face). :param encoding: Which font encoding to use (default is Unicode). Possible encodings include (see the FreeType documentation for more