From: kurund Date: Mon, 30 Jun 2014 17:57:03 +0000 (+0530) Subject: CRM-14567, switch back to dompdf, because tcpdf does not support css / classes that... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8d7ae5ee4f9d0927104fd1b8ecb07f7c25bfa453;p=civicrm-core.git CRM-14567, switch back to dompdf, because tcpdf does not support css / classes that breaks layout for reports ---------------------------------------- * CRM-14567: Replace DOMPDF with TCPDF for "Create PDF Letter" https://issues.civicrm.org/jira/browse/CRM-14567 --- diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index ff7f146e65..5bfad58723 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -119,8 +119,8 @@ class CRM_Utils_PDF_Utils { return self::_html2pdf_wkhtmltopdf($paper_size, $orientation, $margins, $html, $output, $fileName); } else { - //return self::_html2pdf_dompdf($paper_size, $orientation, $html, $output, $fileName); - return self::_html2pdf_tcpdf($paper_size, $orientation, $margins, $html, $output, $fileName, $stationery_path); + return self::_html2pdf_dompdf($paper_size, $orientation, $html, $output, $fileName); + //return self::_html2pdf_tcpdf($paper_size, $orientation, $margins, $html, $output, $fileName, $stationery_path); } }