Subversion Repositories SmartDukaan

Rev

Rev 11123 | Rev 11128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11123 Rev 11126
Line 207... Line 207...
207
		for ($i = 0; $i < strlen($word); $i++)
207
		for ($i = 0; $i < strlen($word); $i++)
208
		{
208
		{
209
			if ($use_font == FALSE)
209
			if ($use_font == FALSE)
210
			{
210
			{
211
				$y = rand(0 , $img_height/2);
211
				$y = rand(0 , $img_height/2);
212
				imagettftext($im, $font_size, $x, $y, substr($word, $i, 1), $text_color);
212
				imagestring($im, $font_size, $x, $y, substr($word, $i, 1), $text_color);
213
				$x += ($font_size*2);
213
				$x += ($font_size*2);
214
			}
214
			}
215
			else
215
			else
216
			{
216
			{
217
				$y = rand($img_height/2, $img_height-3);
217
				$y = rand($img_height/2, $img_height-3);