com php-src: Fix #73582: Failing ext/gd/tests/imagettftext_ch armap_order.phpt: ext/gd/tests/imagettftext_charmap _order.phpt

From: Date: Fri, 25 Nov 2016 22:14:08 +0000
Subject: com php-src: Fix #73582: Failing ext/gd/tests/imagettftext_ch armap_order.phpt: ext/gd/tests/imagettftext_charmap _order.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96040@lists.php.net to get a copy of this message
Commit: 7f529e3dee032d5977166c3eb7b70f57edc8e562 Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 25 Nov 2016 23:02:34 +0100 Parents: 6785ea2340c5d547d312c0d3e116ed545c725c6d Branches: PHP-5.6 PHP-7..0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7f529e3dee032d5977166c3eb7b70f57edc8e562 Log: Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt This test is not supposed to work with JIS-mapped Japanese font support enabled. Bugs: https://bugs.php.net/73582 Changed paths: M ext/gd/tests/imagettftext_charmap_order.phpt Diff: diff --git a/ext/gd/tests/imagettftext_charmap_order.phpt b/ext/gd/tests/imagettftext_charmap_order..phpt index 2be20b7..221e6b8 100644 --- a/ext/gd/tests/imagettftext_charmap_order.phpt +++ b/ext/gd/tests/imagettftext_charmap_order.phpt @@ -4,6 +4,7 @@ Font charmap order is deterministic based on order in the font, use the selected <?php if(!extension_loaded('gd')){ die('skip gd extension not available'); } if(!function_exists('imagettftext')) die('skip imagettftext() not available'); + if(gd_info()['JIS-mapped Japanese Font Support']) die('skip JIS-mapped Japanese Font Support not supported'); ?> --FILE-- <?php

« previous php.cvs (#96040) next »