barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.66k stars 966 forks source link

unpack(): Type n: not enough input, need 2, have 0 #942

Closed naseemkhan7021 closed 1 year ago

naseemkhan7021 commented 1 year ago

Hello there, My name is Naseem khan from Mumbai India.

Issue:

When I try to create PDF with my custom google font-family <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic"> this gives me an error unpack(): Type n: not enough input, need 2, have 0. I am using default dompdf.config file. I tried every single possibility which is found on google. I try to run it on Windows 10 and Ubuntu v16.04

I need help.

parallels999 commented 1 year ago

https://github.com/barryvdh/laravel-dompdf/issues/937#issuecomment-1342777118

naseemkhan7021 commented 1 year ago

ok

erlangparasu commented 12 months ago

https://github.com/dompdf/php-font-lib/issues/47