From 9c7982de49b879d1a1c58236996fa13c277d5b34 Mon Sep 17 00:00:00 2001 From: simonbuehler Date: Wed, 6 Sep 2023 10:15:01 +0200 Subject: [PATCH] fix for #583 (#584) * fix for #583 * fix fix --------- Co-authored-by: Nicola Asuni --- tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdf.php b/tcpdf.php index 25a00d67..23194bd2 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -9927,7 +9927,7 @@ protected function _putcatalog() { } $out .= ' >> >>'; } - $font = $this->getFontBuffer('helvetica'); + $font = $this->getFontBuffer((($this->pdfa_mode) ? 'pdfa' : '') .'helvetica'); $out .= ' /DA (/F'.$font['i'].' 0 Tf 0 g)'; $out .= ' /Q '.(($this->rtl)?'2':'0'); //$out .= ' /XFA ';