We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de053fb commit d7a45ccCopy full SHA for d7a45cc
docs/reference/ImageFont.rst
@@ -18,6 +18,9 @@ OpenType fonts (as well as other font formats supported by the FreeType
18
library). For earlier versions, TrueType support is only available as part of
19
the imToolkit package.
20
21
+When measuring text sizes, this module will not break at newline characters. For
22
+multiline text, see the :py:mod:`~PIL.ImageDraw` module.
23
+
24
.. warning::
25
To protect against potential DOS attacks when using arbitrary strings as
26
text input, Pillow will raise a :py:exc:`ValueError` if the number of characters
0 commit comments