Skip to content

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
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 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.

Closes phpGH-17374.
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