| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hi. Do you have any thoughts on #9925, an alternative that has been created? |
Sorry, something went wrong.
|
I reviewed #9925. It covers the same underlying Raqm double-processing behavior, and I agree it should be the canonical fix rather than landing duplicate warnings. I am happy for #9925 to proceed and can close #9914 if you prefer; please let me know. |
Sorry, something went wrong.
|
The creator of the original issue made the other PR, so if you're happy, then I think it makes sense to go with that. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #9907. Alternative to #9925
Pillow uses libraqm to perform shaping and bidirectional text layout when it is available. This adds a note to the ImageDraw documentation warning that pre-processing text with arabic_reshaper and python-bidi in that case applies the same processing twice and can produce incorrect output.
The note also points readers to PIL.features.check("raqm") so applications can choose the appropriate behavior at runtime.
Validation:
I used OpenAI Codex to assist with investigating and preparing this change, and reviewed the resulting documentation before submission.