I need to use custom fonts that i have downloaded from google web fonts, i have already created a folder under /app/storage called fonts, i have tried using the fonts in my pdf file but they are not appearing.
I have no knowledge of barryvdh/laravel-dompdf, however, based on your code; you aren't telling it where to find the fonts. Your code is looking for the fonts relative to however it's being called. It has no idea that your fonts are in the /app/storage/fonts folder, even if that is accessible to it.
@neilherbertuk after i run the php artisan vendor:publish command for barryvdh/laravel-dompdf a dompdf.php file is created in the /config directory. in that file there is a place you specify the fonts directory.