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

font directory in public don't recognize

Open progintYasin opened this issue 8 months ago • 0 comments

hi . i use public_path('assets/fonts/') in config file

this code is ok in localhost but when i upload project in cpanel and export pdf , project give me error for dont find font path. but when i change font path to base_path('resources/fonts/') and copy my fonts in this path in resourse directory , export as well.

why i cant use public_path('assets/fonts/') for font directory ? i don't want to upload fonts in resourse directory :(

progintYasin avatar Jun 15 '24 07:06 progintYasin