From: rfthomas <rf...@as...> - 2017-02-07 15:40:18
|
We have found problems with the display of text in description fields in: PDFCustOrderConfPortrait.php PrintCustTransPortrait.php The fields are spacing out the length of the field creating strange white space between words. The following changes had to be made: PrintCustTransPortrait.php: line 368 add ,'left' before ) $LeftOvers = $pdf->addTextWrap($Left_Margin+80,$YPos,186,$FontSize,$myrow2['description'],'left'); line 372 add ,'left' before ) $LeftOvers = $pdf->addTextWrap($Left_Margin+80,$YPos-(10*$lines),186,$FontSize,$LeftOvers,'left'); PDFCustOrderConfPortrait.php: line 132 add ,'left' before ) line 133 add ,'left' before ) $LeftOvers = $pdf->addTextWrap($XPos+1,$YPos,100,$FontSize,$myrow2['stkcode'],'left'); $LeftOvers = $pdf->addTextWrap(145,$YPos,295,$FontSize,$myrow2['description'],'left'); There are probably more places where such needs to be added. Is the default to space out text? One would expect the default to be language specific, i.e. left justify for English, Romance, and most European languages, and right justify for Hebrew, etc. Is there a default justification that is not being properly set? We have seen this problem in the last few releases of weberp. We are running 4.13.1 Bob Thomas -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Problems-with-text-spacing-tp4658739.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |