Closed (fixed)
Project:
CAPTCHA
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
6 Feb 2005 at 13:00 UTC
Updated:
9 Jun 2005 at 05:57 UTC
I'm having an interesting problem with captcha and it's TrueType font support. I have a Fedora Core 3 machine with apache httpd 2.0.52, php 4.3.10, compiled with the following options:
--with-freetype-dir=/usr
--with-gd=shared,/usr
--enable-gd-native-ttf
However, the captcha module always says "Your image library does not seem to have TrueType font support". To me, it seems as the support is built in when I compile PHP. Now the big question is whether I used the right options to compile PHP to make captcha work, or possibly too many.
GD seems to be compiled correctly as I can use it in image.module and it works (although I use ImageMagick).
Where to go looking?
Comments
Comment #1
mousse-man commentedFurther check with phpinfo() reveals that GD and FreeType support is enabled:
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Comment #2
arnabdotorg commentedSorry for the delay, will be looking into this soon.
Comment #3
arnabdotorg commentedThere was a misspelled function; fixed, committed. Please update your modules.
Comment #4
(not verified) commented