]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6081 @1.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 27 Jun 2023 04:18:25 +0000 (06:18 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 27 Jun 2023 04:18:25 +0000 (06:18 +0200)
app/Fluidbook/Compiler/Compiler.php

index 4a022a2ec05ee5b781f5b70996f7c077bad2efbf..5c2641ecbb7d4f3416e2a30a311c4f306c90c4a8 100644 (file)
@@ -1858,6 +1858,9 @@ class Compiler extends Base implements CompilerInterface
         if ($f === 'OpenSans') {
             $f = 'Open Sans';
         }
+        if (!$f) {
+            $f = 'Open Sans';
+        }
         switch ($f) {
             case 'sans-serif':
                 return $f;