🐛 Fix problem when exporting single text

This commit is contained in:
alonso.torres 2022-05-10 11:50:10 +02:00
parent 82d744b94a
commit 8df93c2707
3 changed files with 11 additions and 8 deletions

View file

@ -402,7 +402,7 @@
:style {:-webkit-print-color-adjust :exact}
:fill "none"}
(let [fonts (ff/frame->fonts object objects)]
(let [fonts (ff/shape->fonts object objects)]
[:& ff/fontfaces-style {:fonts fonts}])
(case (:type object)