From: Vincent Vanwaelscappel Date: Thu, 27 Jul 2023 08:00:11 +0000 (+0200) Subject: wip #6178 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=93caed64f94a17e9587509ba2659522a9a5c9504;p=fluidbook-toolbox.git wip #6178 @0:10 --- diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index b014b8375..0b583ef62 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -1847,6 +1847,9 @@ class Compiler extends Base implements CompilerInterface protected function _font($f) { + if(!$f){ + $f='OpenSans'; + } $font = FluidbookFont::getAvailableFonts()[$f]; if ($font['font_kit']) { $this->addFontKit($font['font_kit']);