Skip to content

Conversation

@nulano
Copy link
Contributor

@nulano nulano commented Feb 8, 2022

Helps #6018

If layout_engine=ImageFont.LAYOUT_RAQM is passed to ImageFont.truetype when PIL.features.check_feature("raqm") reports False, ImageFont currently silently falls back to basic layout. This PR adds a warning for this case.

@hugovk hugovk merged commit 8b7c37d into python-pillow:main Feb 9, 2022
@nulano nulano deleted the raqm-warn branch February 9, 2022 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants