mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Recommend raqm for non-English text
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
This commit is contained in:
parent
74f47d8c1a
commit
397167569a
|
@ -948,8 +948,8 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None):
|
||||||
If it is available, Raqm layout will be used by default.
|
If it is available, Raqm layout will be used by default.
|
||||||
Otherwise, basic layout will be used.
|
Otherwise, basic layout will be used.
|
||||||
|
|
||||||
If complex text layout is not required, basic layout will have
|
Raqm layout is recommended for all non-English text. If Raqm layout
|
||||||
better performance.
|
is not required, basic layout will have better performance.
|
||||||
|
|
||||||
You can check support for Raqm layout using
|
You can check support for Raqm layout using
|
||||||
:py:func:`PIL.features.check_feature` with ``feature="raqm"``.
|
:py:func:`PIL.features.check_feature` with ``feature="raqm"``.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user