From: <te...@us...> - 2017-01-25 02:38:38
|
Revision: 7730 http://sourceforge.net/p/web-erp/reponame/7730 Author: tehonu Date: 2017-01-25 02:38:37 +0000 (Wed, 25 Jan 2017) Log Message: ----------- Reverse commit 7631 about text justification Modified Paths: -------------- trunk/includes/class.pdf.php Modified: trunk/includes/class.pdf.php =================================================================== --- trunk/includes/class.pdf.php 2017-01-13 23:46:34 UTC (rev 7729) +++ trunk/includes/class.pdf.php 2017-01-25 02:38:37 UTC (rev 7730) @@ -80,7 +80,7 @@ $this->Text($XPos, $this->h-$YPos, $text);// Public function Text() in ~/includes/tcpdf/tcpdf.php. } - function addTextWrap($XPos, $YPos, $Width, $Height, $Text, $Align='full', $border=0, $fill=0) { + function addTextWrap($XPos, $YPos, $Width, $Height, $Text, $Align='J', $border=0, $fill=0) { // R&OS version 0.12.2: "addTextWrap function is no more, use addText instead". // Adds text to the page and returns the balance of the string that could not fit in the width. // $XPos = cell horizontal coordinate from page left side to cell left side in dpi (72dpi = 25.4mm). |