summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-11-25 23:02:34 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2016-11-25 23:14:08 +0100
commit7f529e3dee032d5977166c3eb7b70f57edc8e562 (patch)
tree33a0247bb03007d148a0680a7f9d4b2f36584185
parent6785ea2340c5d547d312c0d3e116ed545c725c6d (diff)
downloadphp-git-7f529e3dee032d5977166c3eb7b70f57edc8e562.tar.gz
Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt
This test is not supposed to work with JIS-mapped Japanese font support enabled.
-rw-r--r--ext/gd/tests/imagettftext_charmap_order.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/tests/imagettftext_charmap_order.phpt b/ext/gd/tests/imagettftext_charmap_order.phpt
index 2be20b7697..221e6b851a 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