From f484fc388ca6c9282d0768d72507dd823c30dc2c Mon Sep 17 00:00:00 2001 From: Thibault Richy Date: Mon, 25 Feb 2019 11:59:22 +0100 Subject: [PATCH] dz --- app/Traits/GenerateBR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/GenerateBR.php b/app/Traits/GenerateBR.php index ea4f4cd..0ab2423 100644 --- a/app/Traits/GenerateBR.php +++ b/app/Traits/GenerateBR.php @@ -44,7 +44,7 @@ trait GenerateBR { // ----- Mentions légales + RCS $txt_mentions = $coupon->coupon_legal_mentions." ".$coupon->coupon_rcs; $ImageMentionFond = imagecreate(415, 90); - $boxMentions = imagettfbbox(6, 0, $arial, $txt_mentions); + $boxMentions = imagettfbbox(7, 0, $arial, $txt_mentions); $white = imagecolorallocate($ImageMentionFond, 255, 255, 255); $black = imagecolorallocate($ImageMentionFond, 0, 0, 0); $lines_mentions = explode("\r\n", $txt_mentions);