From 4ae5d2444af158be01c0aaef9988d0be692efe54 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 30 Apr 2026 18:29:42 +1000 Subject: [PATCH] ImageFont can be used with ImageText as well --- docs/reference/ImageFont.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/ImageFont.rst b/docs/reference/ImageFont.rst index 920a05e65e9..b032396d78c 100644 --- a/docs/reference/ImageFont.rst +++ b/docs/reference/ImageFont.rst @@ -6,7 +6,8 @@ The :py:mod:`~PIL.ImageFont` module defines a class with the same name. Instances of this class store bitmap fonts, and are used with the -:py:meth:`PIL.ImageDraw.ImageDraw.text` method. +:py:meth:`PIL.ImageDraw.ImageDraw.text` method or the :py:class:`PIL.ImageText.Text` +class. Pillow uses its own font file format to store bitmap fonts, limited to 256 characters. You can use :py:meth:`~PIL.FontFile.FontFile.to_imagefont` to convert BDF and PCF font