I am experiencing an issue with generating images using a PHP script from the MyBlitzortung project (https://github.com/tobiasv/MyBlitzortung/tree/master) after moving my website from the old tommy2 server to the new tommy server. The script uses the GD library to render images with text, but after the move, no text is displayed in the images.
To investigate, I ran two simple test scripts:
gd.php (https://dl5ark.heliohost.org/gd.php): This test creates a blank image with a black background and attempts to display text using a specific TTF font, but only a white rectangle is shown without the text.
gd1.php (https://dl5ark.heliohost.org/gd1.php): Similarly, this script also fails to display the text.
The PHP script in question (functions_image.inc.php) relies on the GD library with FreeType support to render the text, and the path to the TTF font seems to be correctly configured. The issue persists even though:
- FreeType support is enabled on the server.
- The font files are present and accessible with appropriate permissions.
I kindly request your help to:
1. Verify if the GD library with FreeType is functioning correctly on the new server.
2. Check for any potential issues with the PHP configuration (e.g., paths, library versions, or limitations) that might prevent the text rendering from working properly.
I appreciate your assistance in resolving this issue, as it affects the proper functioning of image generation on the website.
Wolstech has also tested it and confirms the problem with PHP 6.5 and the GD library (GD is broken): https://helionet.org/index/topic/62191-tommy-upgrade/?do=findComment&comment=279291 .
Thank you for your help, best regards!