Changing Captcha Fontfile

Hi there,

I have copied tahoma.ttf file to css folder.

and at now using it for captcha fontFile. but get the error: [color="#FF0000"]Invalid font filename[/color]




			'captcha'=>array(

				'class'=>'CCaptchaAction',

				'backColor'=>0xFFFFFF,

				'foreColor'=>0x348017,

				'fontFile'=>'webroot.css.tahoma.ttf',

			),



but this work correctly:




'fontFile'=>dirname(__FILE__).'/../../css/tahoma.ttf',



What’s the problem?

try a full path instead of an alias


'fontFile'=>dirname(__FILE__).'/path/to/the/fonts/dir/tahoma.ttf'

I used same.