mirror of
https://github.com/penpot/penpot.git
synced 2026-03-02 08:13:46 +00:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user