diff --git a/examples/example_014.php b/examples/example_014.php index b6726f7..1908f5d 100644 --- a/examples/example_014.php +++ b/examples/example_014.php @@ -70,7 +70,7 @@ if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { // IMPORTANT: disable font subsetting to allow users editing the document $pdf->setFontSubsetting(false); -// set font +// set font. 'helvetica' MUST be used to avoid a PHP notice from PHP 7.4+ $pdf->setFont('helvetica', '', 10, '', false); // add a page diff --git a/examples/example_052.php b/examples/example_052.php index 7618aae..d6afcf5 100644 --- a/examples/example_052.php +++ b/examples/example_052.php @@ -87,7 +87,7 @@ $info = array( // set document signature $pdf->setSignature($certificate, $certificate, 'tcpdfdemo', '', 2, $info); -// set font +// set font. 'helvetica' MUST be used to avoid a PHP notice from PHP 7.4+ $pdf->setFont('helvetica', '', 12); // add a page diff --git a/examples/example_054.php b/examples/example_054.php index 32f73c5..9214c51 100644 --- a/examples/example_054.php +++ b/examples/example_054.php @@ -69,7 +69,7 @@ if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { // IMPORTANT: disable font subsetting to allow users editing the document $pdf->setFontSubsetting(false); -// set font +// set font. 'helvetica' MUST be used to avoid a PHP notice from PHP 7.4+ $pdf->setFont('helvetica', '', 10, '', false); // add a page