FPDI icon indicating copy to clipboard operation
FPDI copied to clipboard

Getting error while adding custom font.

Open rassemdev opened this issue 11 months ago • 1 comments

I am using setasign/fpdi: 2.3 and setasign/fpdf 1.8 on my laravel project to generate pdf. On my application i am using a custom font on my pdf name (dancing-script). But when i am trying to generate the pdf i am getting this error:

"message": "include(1/dancing-script.regular.php): failed to open stream: No such file or directory", "exception": "ErrorException", "file": "/var/www/hc-digital-loan.com/vendor/setasign/fpdf/fpdf.php", "line": 1137,

I have copied dancing-script.regular.php and dancing-script.regular.z on my /vendor/setassign/fpdf/font direct. Which seems was working on fpdf version 1.82 but not with 1.86. Can anyone help me how should i solve this problem?

rassemdev avatar Mar 11 '24 04:03 rassemdev