Skip to content

Commit

Permalink
[jan] Fix transparent rectangles in SVG backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 12, 2015
1 parent fcc20e5 commit b9b9e76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Image/lib/Horde/Image/Svg.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function polygon($verts, $color, $fill = null)
*/
public function rectangle($x, $y, $width, $height, $color, $fill = null)
{
if (!empty($fill)) {
if (!empty($fill) && $fill != 'none') {
$style = 'fill:' . Horde_Image::getHexColor($fill) . '; ';
} else {
$style = 'fill:none;';
Expand Down
2 changes: 2 additions & 0 deletions framework/Image/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [jan] Fix transparent rectangles in SVG backend.
* [jan] Fix setting background color in SVG backend.
* [jan] Add &apos;ratio&apos; parameter to Horde_Image_Effect_Imagick_LiquidResize.
* [jan] Fix catching exceptions from imagick extension.
Expand Down Expand Up @@ -1104,6 +1105,7 @@ Initial release as a PEAR package
<date>2015-03-12</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
* [jan] Fix transparent rectangles in SVG backend.
* [jan] Fix setting background color in SVG backend.
* [jan] Add &apos;ratio&apos; parameter to Horde_Image_Effect_Imagick_LiquidResize.
* [jan] Fix catching exceptions from imagick extension.
Expand Down

0 comments on commit b9b9e76

Please sign in to comment.