From 6ddce5bcba92b92a2120fcae659925570e79cde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Fri, 28 Nov 2025 13:54:17 +0100 Subject: [PATCH] :bug: Fix mismatch between fonts for rendered and selected text when no fallback fonts apply --- frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs index 0d94379e85..e182eaabab 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs @@ -352,7 +352,7 @@ (obj/merge! #js {"--editor-container-width" (dm/str width "px") "--editor-container-height" (dm/str height "px") - "--fallback-families" (dm/str (str/join ", " fallback-families))}) + "--fallback-families" (if (seq fallback-families) (dm/str (str/join ", " fallback-families)) "sourcesanspro")}) (not render-wasm?) (obj/merge!