From 8d7ae5ee4f9d0927104fd1b8ecb07f7c25bfa453 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 30 Jun 2014 23:27:03 +0530 Subject: [PATCH] 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 --- CRM/Utils/PDF/Utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.25.1