Hello,
I'm trying to create a site with some GD work involved. I'm simultaneously testing it at three ISPs because each gives me a different problem and unfortunately, the version information returned by GD is rather sparse. So, here is the plot:
ISP #1:
PHP Version 4.3.10-16, gd_info() returns version = "2.0 or higher", FreeType Support = "enabled, with freetype". The actual problem is that in any call to imagettftext(), the X co-ordinate is ignored, the string is always drawn at X=0 (Y works all right). Font is found, everything else is OK, so please, no simple RTFM replies... :-))
ISP #2:
This is a free hosting service, they decided to disable phpinfo() for whatever reason, so I can't tell you any more about it. gd_info() returns: version = "2.0 or higher", FreeType Support = "enabled, with freetype". So, seemingly the same as #1 (apart from possible and unreported small version differences of GD that I can't be aware of). In the very same code as in the previous paragraph, the X co-ordinate works all right.
ISP #3:
This is relatively straightforward, PHP Version 4.4.0, gd_info() returns FreeType Support = "disabled", unfortunately, this is my client's ISP, we don't yet know how to convince them to enable it... :-(
So, the question boils down to the following: is this bug of ignoring the X co-ordinate something already known, maybe linked to a specific version of GD (I searched the web high and low but found no answers)? If it is, I might be able to convince the ISP to upgrade to a newer version. Or, maybe, work around it somehow?
Thanks,
Gábor
Versions and bugs?
Moderators: onion2k, General Moderators
- minderbinder
- Forum Newbie
- Posts: 2
- Joined: Sun Jul 16, 2006 7:23 pm
Same on FC4
Hi I found the same problem when running fedora core 4 with x being ignored (set to 0)
It works OK with fc5
It works OK with fc5