mirror of
https://github.com/penpot/penpot.git
synced 2025-03-18 10:41:29 -05:00
🐛 Fix font fetching on embedding it.
This commit is contained in:
parent
4f20d22a4f
commit
69031bb8e1
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@
|
|||
(if (= :google backend)
|
||||
(-> (fonts/gfont-url family [{:id font-variant-id}])
|
||||
(js/fetch)
|
||||
(p/then (fn [res] (.text res)))))
|
||||
(get-local-font-css font-id font-variant-id)))
|
||||
(p/then (fn [res] (.text res))))
|
||||
(get-local-font-css font-id font-variant-id))))
|
||||
|
||||
(defn get-text-font-data [text]
|
||||
(->> text
|
||||
|
|
Loading…
Add table
Reference in a new issue