Merged in julceslau/processmaker (pull request #1078)

Improvement in pdf generation woth old engine with PHP 5.4
This commit is contained in:
Julio Cesar Laura Avendaño
2014-10-27 17:06:03 -04:00

View File

@@ -912,7 +912,7 @@ class OutputDocument extends BaseOutputDocument
'landscape' => $sLandscape,
'method' => 'fpdf',
'margins' => array('left' => 15, 'right' => 15, 'top' => 15, 'bottom' => 15,),
'encoding' => '',
'encoding' => (version_compare(PHP_VERSION, '5.4.0', '<') ? '' : 'utf-8'),
'ps2pdf' => false,
'compress' => true,
'output' => 2,