Skip to content

Commit 4ae5d24

Browse files
committed
ImageFont can be used with ImageText as well
1 parent 0ef81c3 commit 4ae5d24

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/reference/ImageFont.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
The :py:mod:`~PIL.ImageFont` module defines a class with the same name. Instances of
88
this class store bitmap fonts, and are used with the
9-
:py:meth:`PIL.ImageDraw.ImageDraw.text` method.
9+
:py:meth:`PIL.ImageDraw.ImageDraw.text` method or the :py:class:`PIL.ImageText.Text`
10+
class.
1011

1112
Pillow uses its own font file format to store bitmap fonts, limited to 256 characters. You
1213
can use :py:meth:`~PIL.FontFile.FontFile.to_imagefont` to convert BDF and PCF font

0 commit comments

Comments
 (0)