Document that basic layout is faster than raqm

This commit is contained in:
Andrew Murray 2022-10-03 10:03:13 +11:00
parent ba78f5d0da
commit 74f47d8c1a

View File

@ -948,6 +948,9 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None):
If it is available, Raqm layout will be used by default.
Otherwise, basic layout will be used.
If complex text layout is not required, basic layout will have
better performance.
You can check support for Raqm layout using
:py:func:`PIL.features.check_feature` with ``feature="raqm"``.