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

From: Date: Tue, 22 Nov 2016 18:39:25 +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-205553@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:         ab@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:

An update on this - i've got another vm with freetype 2.6.3 by default, and the test passes
there. Seems to be indeed a version behavior difference.

Thanks.


Previous Comments:
------------------------------------------------------------------------
[2016-11-22 17:19:08] ab@php.net

Here you are http://picpaste.de/pics/bug73582.1479834942.png
. Freetype 2.5.2, unfortunately I can't tell much about its configuration, as it's a
precompiled package from the distro.

Thanks.

------------------------------------------------------------------------
[2016-11-22 17:02:15] cmb@php.net

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.

------------------------------------------------------------------------
[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


Thread (12 messages)

« previous php.bugs (#205553) next »