From 63b763ae14fbdbaf7d997507af077bf1c0a8a011 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 26 Jun 2023 18:10:02 +0200 Subject: [PATCH] wait #5399 --- app/Fluidbook/Compiler/Compiler.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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; } } -- 2.39.5