Merge pull request #7859 from penpot/ladybenko-12801-fix-mismatched-fonts

🐛 Fix mismatch between fonts for rendered and selected text when no fallback fonts apply
This commit is contained in:
Elena Torró 2025-11-28 14:10:17 +01:00 committed by GitHub
commit fdddd3284a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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!