Use PDF/A format instead of PDF

This commit is contained in:
Laurent Destailleur 2021-10-16 18:59:01 +02:00
parent 7bb840fb04
commit a28d01ca83

View File

@ -177,8 +177,8 @@ function pdf_getInstance($format = '', $metric = 'mm', $pagetype = 'P')
//$metric=$arrayformat['unit'];
$pdfa = false; // PDF-1.3
if (!empty($conf->global->PDF_USE_1A)) {
$pdfa = true; // PDF1/A
if (!empty($conf->global->PDF_USE_A)) {
$pdfa = $conf->global->PDF_USE_A; // PDF/A-1 ou PDF/A-3
}
if (class_exists('TCPDI')) {