diff --git a/docs/releasenotes/10.2.0.rst b/docs/releasenotes/10.2.0.rst index 41dd26826ab..a28c8aba17c 100644 --- a/docs/releasenotes/10.2.0.rst +++ b/docs/releasenotes/10.2.0.rst @@ -20,10 +20,12 @@ TODO API Changes =========== -TODO -^^^^ +Zero or negative font size error +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -TODO +When creating a :py:class:`~PIL.ImageFont.FreeTypeFont` instance, either directly or +through :py:func:`~PIL.ImageFont.truetype`, if the font size is not greater than zero, a +:py:exc:`ValueError` will now be raised. API Additions =============