From f6d096291da3c42719656e7806e5146736fb2565 Mon Sep 17 00:00:00 2001 From: Ruben Barkow-Kuder Date: Fri, 19 Jul 2024 11:43:28 +0200 Subject: [PATCH] allow arial as font although unicode is disabled --- tcpdf.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/tcpdf.php b/tcpdf.php index 60f93c41..3ec21122 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -4281,9 +4281,6 @@ public function AddFont($family, $style='', $fontfile='', $subset='default') { } // normalize family name $family = strtolower($family); - if ((!$this->isunicode) AND ($family == 'arial')) { - $family = 'helvetica'; - } if (($family == 'symbol') OR ($family == 'zapfdingbats')) { $style = ''; }