From 38a8203d90f079542985edb45445ed989d718714 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 3 Apr 2015 00:34:35 +0200 Subject: [PATCH] Fixed broken opacity in ImagickImageAdapter::drawText() --- .../lib/system/image/adapter/ImagickImageAdapter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php b/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php index 9a6859ea08..35f66c449e 100644 --- a/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php +++ b/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php @@ -189,7 +189,7 @@ class ImagickImageAdapter implements IImageAdapter { */ public function drawText($text, $x, $y, $font, $size, $opacity = 1) { $draw = new \ImagickDraw(); - $draw->setStrokeOpacity($opacity); + $draw->setFillOpacity($opacity); $draw->setFillColor($this->color); $draw->setTextAntialias(true); $draw->setFont($font); -- 2.20.1