From: Vincent Vanwaelscappel Date: Mon, 26 Jun 2023 16:10:02 +0000 (+0200) Subject: wait #5399 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=63b763ae14fbdbaf7d997507af077bf1c0a8a011;p=fluidbook-toolbox.git wait #5399 --- diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index 3fb738bd4..4a022a2ec 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -1479,14 +1479,12 @@ class Compiler extends Base implements CompilerInterface } - public function getBookSurface() { return $this->width * $this->height; } - public function addSlideshowLibrary($inline = true) { $l = ($inline ? $this->config->inlineSlideshowLibrary : $this->config->popupSlideshowLibrary); @@ -1849,8 +1847,6 @@ class Compiler extends Base implements CompilerInterface } - - protected function _lessBoolean($val) { return $this->_themeBoolean($val) ? 'true' : 'false'; @@ -1863,16 +1859,13 @@ class Compiler extends Base implements CompilerInterface $f = 'Open Sans'; } switch ($f) { - case 'Montserrat': - case 'Open Sans': - $this->addFontKit($f); - return "'" . $f . "', " . $default; case 'sans-serif': return $f; case 'Arial': return $default; default: - return "'Open Sans', Arial, Helverica, sans-serif"; + $this->addFontKit($f); + return "'" . $f . "', " . $default; } }