tahir4444 / cool-php-captcha

Automatically exported from code.google.com/p/cool-php-captcha
GNU General Public License v3.0
0 stars 0 forks source link

image only show 1 letter #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when FreeType Version 2.3.7

What is the expected output? What do you see instead?
captcha image result just one letter

What version of the product are you using? On what operating system?
cool-php-captcha-0.2.1

Please provide any additional information below.
In FreeType Version 2.3.4, image show correctly

Original issue reported on code.google.com by hendry.k...@gmail.com on 30 May 2009 at 4:56

Attachments:

GoogleCodeExporter commented 9 years ago
ok, problem solved. The problem is shadow color setting, just set to true and 
problem
with image show only one latter (first latter)

//old
public $shadowColor = true; //array(0, 0, 0);

//new
public $shadowColor = true; //array(0, 0, 0);

Original comment by hendry.k...@gmail.com on 30 May 2009 at 6:28

GoogleCodeExporter commented 9 years ago
typo, one letter not latter, sorry ...

Original comment by hendry.k...@gmail.com on 30 May 2009 at 6:31

GoogleCodeExporter commented 9 years ago
The "true" value is incorrect. You must define the SHADOW COLOR, for example 
"array(0,0,0)" for black color.

i will change the code to avoid further mistakes:

FROM:
public $shadowColor = false; //array(0, 0, 0);

TO:
public $shadowColor = null; //array(0, 0, 0);

Original comment by joserodr...@gmail.com on 29 Jun 2009 at 4:52