Kaynağa Gözat

修复:imagettftext方法报错 b1199a4

萤火科技 4 yıl önce
ebeveyn
işleme
a8f3b0b2f6

+ 3 - 3
vendor/kosinix/grafika/src/Grafika/Gd/Editor.php

@@ -798,9 +798,9 @@ final class Editor implements EditorInterface
             $image->getCore(),
             $size,
             $angle,
-            $x,
-            $y,
-            $colorResource,
+            (int)$x,
+            (int)$y,
+            (int)$colorResource,
             $font,
             $text
         );