tim0991
Results
2
comments of
tim0991
```php function getTextWith($fontSize, $text) { $im = new Imagick(); $draw = new ImagickDraw(); $draw->setFont($this->fontPath); $draw->setFontSize($fontSize); $info = $im->queryFontMetrics($draw, $text); return $info['textWidth']; } ``` get height by `$info['textHeight'] `
I have the same error....... ImageMagick 7.0.7-11 Q16 x86_64 2017-11-15