1
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
* @abstract TCPDF - Example: XHTML Forms
|
||||
* @author Nicola Asuni
|
||||
* @since 2009-09-07
|
||||
* @group html
|
||||
* @group form
|
||||
* @group pdf
|
||||
*/
|
||||
|
||||
// Include the main TCPDF library (search for installation path).
|
||||
@@ -69,7 +72,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
|
||||
|
||||
Reference in New Issue
Block a user