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

Fix GH-17373: imagefttext() ignores clipping rect for palette images #17374

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Jan 6, 2025

We apply the same fix that has been applied to external libgd at least as of 2.0.29.

To avoid issues regarding minor FreeType rendering differences, the test case does not compare against an image, but rather checks that all pixels outside the clipping rect have the background color.

We apply the same fix that has been applied to external libgd at least
as of 2.0.29.

To avoid issues regarding minor FreeType rendering differences, the
test case does not compare against an image, but rather checks that all
pixels outside the clipping rect have the background color.
@cmb69 cmb69 requested a review from devnexen as a code owner January 6, 2025 01:04
@cmb69 cmb69 linked an issue Jan 6, 2025 that may be closed by this pull request
@cmb69 cmb69 closed this in ec90367 Jan 6, 2025
@cmb69 cmb69 deleted the cmb/gh17373 branch January 6, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

imagefttext() ignores clipping rect for palette images
2 participants