php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76373 function imageftbbox appears to be missing
Submitted: 2018-05-24 14:09 UTC Modified: 2018-05-24 14:29 UTC
From: david dot copeland at jsidata dot ca Assigned:
Status: Not a bug Package: GD related
PHP Version: 7.2.5 OS: Linux OpenSuse 42.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david dot copeland at jsidata dot ca
New email:
PHP Version: OS:

 

 [2018-05-24 14:09 UTC] 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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-05-24 14:29 UTC] danack@php.net
-Status: Open +Status: Not a bug
 [2018-05-24 14:29 UTC] danack@php.net
> 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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 12 20:01:27 2025 UTC