Skip to content

Commit 504febb

Browse files
committed
MAGETWO-62464: Travis CI: GD2 imagettfbbox creates image with invalid size
1 parent 12c1244 commit 504febb

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Image/Adapter

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Image/Adapter/Gd2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ protected function _createImageFromTtfText($text, $font)
748748
$this->_fontSize,
749749
0,
750750
0,
751-
$height - abs($boundingBox[1]),
751+
$height,
752752
$black,
753753
$font,
754754
$text

0 commit comments

Comments
 (0)