The issue with the Text not rendered correctly on the x-axis is not due to the Zabbix version, the error lies in the version of the libgd3 library, specifically in version 2.3.3-12 and later.
In my case i correct it in debian using apache2. For other flavors of Linux, check the appropriate instructions.
Check the installed version
dpkg -l | grep libgd3
in my case: 2.3.3-12+b1 amd64 GD Graphics Library
Check Available Versions
apt policy libgd3
In my case:
libgd3:
Installed: 2.3.3-12+b1
Candidate: 2.3.3-12+b1
Version table:
*** 2.3.3-12+b1 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
500 http://deb.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
2.3.3-9 500
500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
2.3.0-2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
Make the downgrade
sudo apt install libgd3=2.3.3-9
Then verify installed version
dpkg -l | grep libgd3
libgd3:amd64 2.3.3-9 amd64 GD Graphics Library
To prevent future automatic updates :
sudo apt-mark hold libgd3
Restart zabbix and apache:
sudo systemctl restart zabbix-server
sudo systemctl restart apache2
This should fix the problem. Good luck.
Let me know how it goes and include examples with Nginx and other versions of Linux.