dever 6 anos atrás
pai
commit
11aa687af1
1 arquivos alterados com 4 adições e 0 exclusões
  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