Corrected docstring [ci skip]

This commit is contained in:
Andrew Murray 2022-02-22 10:32:02 +11:00
parent 9e6537df5a
commit 3c1e7a7f5a

View File

@ -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 :file:`/System/Library/Fonts/` and :file:`~/Library/Fonts/` on
macOS. 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 index: Which font face to load (default is first available face).
:param encoding: Which font encoding to use (default is Unicode). Possible :param encoding: Which font encoding to use (default is Unicode). Possible
encodings include (see the FreeType documentation for more encodings include (see the FreeType documentation for more