0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 16:09:17 -05:00

🐛 Fix letter spacing for svg texts

This commit is contained in:
alonso.torres 2022-05-05 17:16:05 +02:00
parent 1723ff1da5
commit 5b37c11221
2 changed files with 2 additions and 0 deletions

View file

@ -82,6 +82,7 @@
:fontWeight (:font-weight data)
:textTransform (:text-transform data)
:textDecoration (:text-decoration data)
:letterSpacing (:letter-spacing data)
:fontStyle (:font-style data)
:direction (if (:rtl data) "rtl" "ltr")
:whiteSpace "pre"}

View file

@ -119,6 +119,7 @@
:font-weight (str (get "font-weight"))
:text-transform (str (get "text-transform"))
:text-decoration (str (get "text-decoration"))
:letter-spacing (str (get "letter-spacing"))
:font-style (str (get "font-style"))
:fills (transit/decode-str (get "--fills"))
:text text}))))))))))