Skip to content

Commit

Permalink
Recommend raqm for non-English text
Browse files Browse the repository at this point in the history
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
  • Loading branch information
radarhere and nulano committed Oct 9, 2022
1 parent 74f47d8 commit 3971675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/ImageFont.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Otherwise, basic layout will be used.
If complex text layout is not required, basic layout will have
better performance.
Raqm layout is recommended for all non-English text. If Raqm 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"``.
Expand Down

0 comments on commit 3971675

Please sign in to comment.