Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2.2
-
Fix Version/s: 3.2.3
-
Component/s: Core CiviCRM
-
Labels:None
Description
Today, by calling TCPDF's MultiCell() function in civicrm\CRM\Utils\PDF\Label.pdf around line 225 with miminum arguments, TCPDF's default behavior if it encounters data that needs to be spread to multiple lines is to justify the first line (i.e. spread out the words on it). This doesn't look good.
Please add two more arguments to make the first line left-aligned:
$this->MultiCell($this->width, $this->lineHeight, $var, '', 'L');
(the argument before the 'L' for left-alignment is is an empty argument for border)