Bug #73582 [Asn]: Failing ext/gd/tests/imagettftext_charmap_order.phpt

From: Date: Tue, 22 Nov 2016 17:02:16 +0000
Subject: Bug #73582 [Asn]: Failing ext/gd/tests/imagettftext_charmap_order.phpt
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205551@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73582&edit=1 ID: 73582 Updated by: cmb@php.net Reported by: ab@php.net Summary: Failing ext/gd/tests/imagettftext_charmap_order.phpt Status: Assigned Type: Bug Package: GD related Operating System: FreeBSD, Linux PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: I can't reproduce the test failure (and the test never failed for me in the past), but I presume that that depends on the freetype version and its configuration. Please store the created image as PNG; something like: imagepng($im, __DIR__ . DIRECTORY_SEPARATOR . 'imagettftext_charmap_order.png'); Then please make the image available somewhere. Previous Comments: ------------------------------------------------------------------------ [2016-11-22 16:25:45] ab@php.net Christoph, could you please take a look? Thanks. ------------------------------------------------------------------------ [2016-11-22 16:22:25] ab@php.net Description: ------------ The subject test fails, here are the relevant configure options --with-gd --with-png-dir=/usr/local --enable-gd-native-ttf --with-freetype-dir=/usr/local --with-webp-dir=/usr/local --with-jpeg-dir=/usr/local I'm pretty sure, it's reproduceable elsewhere as well. Just had no time to switch to Linux for a test, but it's also confirmed by Dmitry to fail there. Probably for Linux the paths would be /usr instead of /usr/local. On Windows, this test is currently not run, so not sure there's an issue there, too. Test script: --------------- The test ext/gd/tests/imagettftext_charmap_order.phpt Expected result: ---------------- Test passes. Actual result: -------------- 001+ FAIL 0 black pixels 001- SUCCESS %d black pixels ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73582&edit=1

« previous php.bugs (#205551) next »