From 88e20a18bec7f0131de9e6cf69be8e268c1c0d04 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 18 Jan 2018 09:36:59 +0000 Subject: [PATCH] #1584 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 30aa9412b..16f0b21b4 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1342,7 +1342,7 @@ class wsHTML5Compiler { $texts .= 'height:' . ($hm / $this->cssSVGScale) . 'px; max-height:' . ($hm / $this->cssSVGScale) . 'px;'; $texts .= '}'; } else { - $texts = '.texts{width:' . floor(($wm / $this->cssSVGScale) + 4) . 'px;height:' . floor(($hm / $this->cssSVGScale) + 4) . 'px;}'; + $texts = '.texts{width:' . floor($w + 4) . 'px;height:' . floor($h + 4) . 'px;}'; } $res[] = $texts; -- 2.39.5