mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
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
This commit is contained in:
parent
065b4ec125
commit
174a7fe6f9
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
Bug GH-17373 (imagefttext() ignores clipping rect for palette images)
|
||||
--EXTENSIONS--
|
||||
gd
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!function_exists('imagefttext')) die('skip imagefttext() not available');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$im = imagecreate(64, 32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue