From: Marcel Werk Date: Thu, 2 Apr 2015 22:34:35 +0000 (+0200) Subject: Fixed broken opacity in ImagickImageAdapter::drawText() X-Git-Tag: 2.1.3~41 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38a8203d90f079542985edb45445ed989d718714;p=GitHub%2FWoltLab%2FWCF.git Fixed broken opacity in ImagickImageAdapter::drawText() --- 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);