From 86c64aafd278f77fa25329c24286a26a6aa1cf56 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 12 Aug 2019 20:43:32 +1000 Subject: [PATCH] Formatted text [ci skip] --- src/PIL/ImageFont.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index 659e589de..16c1052f4 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -546,9 +546,9 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None): This function loads a font object from the given file or file-like object, and creates a font object for a font of the given size. - Pillow uses FreeType to open font files. If you are opening many - fonts simultaneously on Windows, be aware that Windows limits the number of - files that can be open in C at once to 512. If you approach that limit, an + Pillow uses FreeType to open font files. If you are opening many fonts + simultaneously on Windows, be aware that Windows limits the number of files + that can be open in C at once to 512. If you approach that limit, an ``OSError`` may be thrown, reporting that FreeType "cannot open resource". This function requires the _imagingft service.