Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue warning if Raqm layout is requested, but Raqm is not available #6035

Merged
merged 1 commit into from
Feb 9, 2022

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.

None yet

3 participants