Subversion Repositories SmartDukaan

Rev

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

Rev 11126 Rev 11128
Line 191... Line 191...
191
 
191
 
192
		$use_font = ($font_path != '' AND file_exists($font_path) AND function_exists('imagettftext')) ? TRUE : FALSE;
192
		$use_font = ($font_path != '' AND file_exists($font_path) AND function_exists('imagettftext')) ? TRUE : FALSE;
193
 
193
 
194
		if ($use_font == FALSE)
194
		if ($use_font == FALSE)
195
		{
195
		{
196
			$font_size = 30;
196
			$font_size = 14;
197
			$x = rand(0, $img_width/($length/3));
197
			$x = rand(0, $img_width/($length/3));
198
			$y = 0;
198
			$y = 0;
199
		}
199
		}
200
		else
200
		else
201
		{
201
		{