mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
🚿
This commit is contained in:
@@ -92,7 +92,7 @@ class QRImageWithText extends QRImage{
|
||||
|
||||
// loop through the string and draw the letters
|
||||
foreach(\str_split($text) as $i => $chr){
|
||||
\imagechar($this->image, $textSize, $i * $w + $x, $this->length, $chr, $fontColor);
|
||||
\imagechar($this->image, $textSize, (int)($i * $w + $x), $this->length, $chr, $fontColor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user