From 93caed64f94a17e9587509ba2659522a9a5c9504 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 27 Jul 2023 10:00:11 +0200 Subject: [PATCH] wip #6178 @0:10 --- app/Fluidbook/Compiler/Compiler.php | 3 +++ 1 file changed, 3 insertions(+) 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']); -- 2.39.5