From d8aa5334b6fd009215a12d1c11efc33ae2152b80 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 28 Jun 2021 12:21:00 +0000 Subject: [PATCH] wip #4561 0:10 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 d8f0b8584..f62b458b4 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2244,17 +2244,20 @@ height="0" width="0" style="display:none;visibility:hidden"> protected function _font($f) { $default = 'Arial, Helvetica, sans-serif'; + if($f==='OpenSans') { + $f='Open Sans'; + } switch ($f) { case 'Montserrat': - case 'OpenSans': + case 'Open Sans': $this->addFontKit($f); - return "'" . $f . "' " . $default; + return "'" . $f . "', " . $default; case 'sans-serif': return $f; case 'Arial': return $default; default: - return "'OpenSans', Arial, Helverica, sans-serif"; + return "'Open Sans', Arial, Helverica, sans-serif"; } } -- 2.39.5