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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon May 20 18:01:36 2024 UTC