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 42a5a74 commit c24b6efCopy full SHA for c24b6ef
1 file changed
src/PIL/ImageFont.py
@@ -911,6 +911,7 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None):
911
limits the number of files that can be open in C at once to 512, so if many
912
fonts are opened simultaneously and that limit is approached, an
913
``OSError`` may be thrown, reporting that FreeType "cannot open resource".
914
+ A workaround would be to copy the file(s) into memory, and open that instead.
915
916
This function requires the _imagingft service.
917
0 commit comments