dever %!s(int64=6) %!d(string=hai) anos
pai
achega
11aa687af1
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/Api.php

+ 4 - 0
src/Api.php

@@ -109,6 +109,10 @@ class Api
 				//$param['left'] = $position[2];
 				$param['size'] = $value['size'];
 				$param['angle'] = $value['angle'];
+
+				if (isset($value['text_width']) && $value['text_width'] > 0) {
+					$param['width'] = $value['text_width'];
+				}
 				
 
 				$fonts = array