mirror of
https://github.com/Intervention/image.git
synced 2025-08-14 01:44:03 +02:00
Remove redundant code
This commit is contained in:
@@ -30,8 +30,6 @@ class FontProcessor extends AbstractFontProcessor
|
|||||||
}
|
}
|
||||||
|
|
||||||
$draw = $this->toImagickDraw($font);
|
$draw = $this->toImagickDraw($font);
|
||||||
$draw->setStrokeAntialias(true);
|
|
||||||
$draw->setTextAntialias(true);
|
|
||||||
$dimensions = (new Imagick())->queryFontMetrics($draw, $text);
|
$dimensions = (new Imagick())->queryFontMetrics($draw, $text);
|
||||||
|
|
||||||
return new Rectangle(
|
return new Rectangle(
|
||||||
|
Reference in New Issue
Block a user