tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.22k stars 1.52k forks source link

TCPDF_FONTS::utf8Bidi(): Argument #2 ($currentfont) cannot be passed by reference #585

Open akshita011 opened 1 year ago

akshita011 commented 1 year ago

Not sure why this issue is popping up every time a PDF file needs to be generated. I have used the latest code for tcpdf.php from the repository. Please help me out! Error Line: 2000 TCPDF_FONTS::utf8Bidi(array(), '', false, $this->isunicode, $this->CurrentFont);

williamdes commented 1 year ago
$currentFont = '';
TCPDF_FONTS::utf8Bidi(array(), $currentFont, false, $this->isunicode, $this->CurrentFont);

I just read the error, does it work?