Skip to content

Commit 174a7fe

Browse files
orlitzkydevnexen
authored andcommitted
Fix GH-17891 gh17373.phpt test issue without freetype support
skip if imagefttext() is not available This test calls imagefttext(), which may not be available if libgd was built without freetype support. Closes GH-17910
1 parent 065b4ec commit 174a7fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/gd/tests/gh17373.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Bug GH-17373 (imagefttext() ignores clipping rect for palette images)
33
--EXTENSIONS--
44
gd
5+
--SKIPIF--
6+
<?php
7+
if(!function_exists('imagefttext')) die('skip imagefttext() not available');
8+
?>
59
--FILE--
610
<?php
711
$im = imagecreate(64, 32);

0 commit comments

Comments
 (0)