laravel-captcha icon indicating copy to clipboard operation
laravel-captcha copied to clipboard

Captcha image not load because of IndiraK.ttf font file

Open osmanabdelsalam opened this issue 1 year ago • 0 comments

when I'm try to show the captcha in view by @captcha directive it throws error exception: ErrorException: imagettftext(): Could not find/open font in file neelain_certificates/vendor/bonecms/laravel-captcha/src/Captcha/Generator/GeneratorWaves.php on line 28

If I comment the font line in config file the error goes away. 'font' => base_path('vendor/bonecms/laravel-captcha/src/resources/fonts/IndiraK.ttf')

osmanabdelsalam avatar Oct 09 '23 02:10 osmanabdelsalam