Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font directory in public don't recognize #4

Open
progintYasin opened this issue Jun 15, 2024 · 1 comment
Open

font directory in public don't recognize #4

progintYasin opened this issue Jun 15, 2024 · 1 comment

Comments

@progintYasin
Copy link

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 :(

@misterspelik
Copy link
Owner

@progintYasin Hello, hope you are doing well. Could you please check if the directory is writable?
Or please give me a stack trace of the error you get.
Thank you in advance and have a nice day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants