0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh 2021-04-07 09:28:02 +02:00
commit c4c0e105cf

View file

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