forked from Wavyzz/dolibarr
Work on replacement of FPDF with TCPDF
This commit is contained in:
@@ -412,7 +412,12 @@ class pdf_standard {
|
||||
$pdf=new FPDI('P',$this->Tformat['metric'],$this->format);
|
||||
}
|
||||
|
||||
$pdf->SetFont('Helvetica');
|
||||
if (class_exists('TCPDF'))
|
||||
{
|
||||
$pdf->setPrintHeader(false);
|
||||
$pdf->setPrintFooter(false);
|
||||
}
|
||||
$pdf->SetFont('Helvetica');
|
||||
|
||||
$pdf->SetTitle($outputlangs->transnoentities('MembersCards'));
|
||||
$pdf->SetSubject($outputlangs->transnoentities("MembersCards"));
|
||||
|
||||
@@ -391,6 +391,11 @@ class pdf_standardlabel {
|
||||
$pdf=new FPDI('P',$this->Tformat['metric'],$this->format);
|
||||
}
|
||||
|
||||
if (class_exists('TCPDF'))
|
||||
{
|
||||
$pdf->setPrintHeader(false);
|
||||
$pdf->setPrintFooter(false);
|
||||
}
|
||||
$pdf->SetFont('Helvetica');
|
||||
|
||||
$pdf->SetTitle($outputlangs->transnoentities('MembersLabels'));
|
||||
|
||||
Reference in New Issue
Block a user