diff --git a/app/Traits/GenerateBR.php b/app/Traits/GenerateBR.php index 54b1a30..91f0ed2 100644 --- a/app/Traits/GenerateBR.php +++ b/app/Traits/GenerateBR.php @@ -42,13 +42,13 @@ trait GenerateBR { imagecolortransparent($ImageFond, $white); imagecopy($mask, $ImageFond, 743, 365, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); } else { - $ImageFond = imagecreate(185, 27); + $ImageFond = imagecreate(195, 27); $box1 = imagettfbbox(7, 0, $arial, $text); $white = imagecolorallocate($ImageFond, 255, 255, 255); $black = imagecolorallocate($ImageFond, 0, 0, 0); - $this->imagettftextSp($ImageFond , 7 , 0, 5, 23, $black, $arial, $text, 0.01); + $this->imagettftextSp($ImageFond , 7 , 0, 5, 23, $black, $arial, $text, 0); imagecolortransparent($ImageFond, $white); - imagecopy($mask, $ImageFond, 723, 365, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + imagecopy($mask, $ImageFond, 713, 365, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); }