Bug #76373 [Opn->Nab]: function imageftbbox appears to be missing

From: Date: Thu, 24 May 2018 14:29:13 +0000
Subject: Bug #76373 [Opn->Nab]: function imageftbbox appears to be missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215358@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76373&edit=1

 ID:                 76373
 Updated by:         danack@php.net
 Reported by:        david dot copeland at jsidata dot ca
 Summary:            function imageftbbox appears to be missing
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            GD related
 Operating System:   Linux OpenSuse 42.3
 PHP Version:        7.2.5
 Block user comment: N
 Private report:     N

 New Comment:

> the function imagettftext seems to silently fail.

If it's missing it shouldn't. If you're not seeing an error, you should modify your
server setup to log errors rather than 'silently fail' 
https://stackoverflow.com/questions/845021/how-to-get-useful-error-messages-in-php


If the function is missing, you will need to open a bug report with the opensuse repository.


Previous Comments:
------------------------------------------------------------------------
[2018-05-24 14:09:25] david dot copeland at jsidata dot ca

Description:
------------
I get PHP from the opensuse devel:languages:php repository.

function_exists will return false.

This behaviour started with a recent update. 

phpinfo() shows GD and freetype support installed.

The function imagettfbbox does exist, but the function imagettftext seems to silently fail. My guess
is that it uses imageftbbox.




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=76373&edit=1


Thread (2 messages)

« previous php.bugs (#215358) next »