From 093f6b9b26ea0fec3b92a66f702630dc1d51d280 Mon Sep 17 00:00:00 2001 From: Victor Saisa Lopez Date: Thu, 6 Sep 2012 15:23:47 -0400 Subject: [PATCH] BUG 9724 "Cut the words in PDF" SOLVED - The words are cut when they reach the limit of the bottom margin - Problem solved, If in an tag there is a large string, exceeds above the bottom margin, this row passes to the next page * Available from version 2.0.44 --- workflow/engine/classes/model/OutputDocument.php | 1 + 1 file changed, 1 insertion(+) diff --git a/workflow/engine/classes/model/OutputDocument.php b/workflow/engine/classes/model/OutputDocument.php index 4c9a6c0e8..176b02e49 100755 --- a/workflow/engine/classes/model/OutputDocument.php +++ b/workflow/engine/classes/model/OutputDocument.php @@ -709,6 +709,7 @@ class OutputDocument extends BaseOutputDocument fwrite($oFile, $sContent); fclose($oFile); + define("MAX_FREE_FRACTION", 1); define('PATH_OUTPUT_FILE_DIRECTORY', PATH_HTML . 'files/' . $_SESSION['APPLICATION'] . '/outdocs/'); G::verifyPath(PATH_OUTPUT_FILE_DIRECTORY, true); require_once (PATH_THIRDPARTY . 'html2ps_pdf/config.inc.php');