CRM-14567, switch back to dompdf, because tcpdf does not support css / classes that...
authorkurund <kurund@civicrm.org>
Mon, 30 Jun 2014 17:57:03 +0000 (23:27 +0530)
committerkurund <kurund@civicrm.org>
Mon, 30 Jun 2014 17:57:03 +0000 (23:27 +0530)
----------------------------------------
* CRM-14567: Replace DOMPDF with TCPDF for "Create PDF Letter"
  https://issues.civicrm.org/jira/browse/CRM-14567

CRM/Utils/PDF/Utils.php

index ff7f146e65c2a344bcdd4196bee5346da7bae2bc..5bfad58723a46d4804fd0c10a999cd39d273d128 100644 (file)
@@ -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);
     }
   }