]> granicus.if.org Git - php/commit
Fix and reactivate regression test for bug #50194
authorChristoph M. Becker <cmb@php.net>
Wed, 14 Sep 2016 22:34:55 +0000 (00:34 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 14 Sep 2016 22:46:00 +0000 (00:46 +0200)
commit7bfb7b62b1fa2a8a21c3718111424c80b91f6505
treeab2f0b6d2da17be080e064c30b22a08c9d8e5902
parent36df4f8419f1109afbc920225ae72507c21da675
Fix and reactivate regression test for bug #50194

Apparently, different FreeType versions render the string differently, so
we have to cater to these slight differences. Unfortunately, the testing
framework doesn't yet offer a clean API for this, so we work around the
limitations by parsing and checking the output of test_image_equals_file().
ext/gd/tests/bug50194.phpt