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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 18:01:33 2024 UTC