mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
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:
commit
fdddd3284a
@ -352,7 +352,7 @@
|
|||||||
(obj/merge!
|
(obj/merge!
|
||||||
#js {"--editor-container-width" (dm/str width "px")
|
#js {"--editor-container-width" (dm/str width "px")
|
||||||
"--editor-container-height" (dm/str height "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?)
|
(not render-wasm?)
|
||||||
(obj/merge!
|
(obj/merge!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user