mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-04-20 22:12:32 +02:00
Update documentation for a known issue. (#569)
Closes #568 Co-authored-by: Philippe Jausions <Philippe.Jausions@11abacus.com> Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
This commit is contained in:
parent
288a7cdc4c
commit
0df767ffad
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user