mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 10:46:12 +02:00
🐛 Parametrized render to embed objects. Fix problem with fonts when exporting to SVG
This commit is contained in:
parent
e6f8269c0b
commit
118b4367e7
6 changed files with 17 additions and 9 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
(defn- get-mtype
|
||||
[type]
|
||||
|
||||
(case (d/name type)
|
||||
"zip" "application/zip"
|
||||
"pdf" "application/pdf"
|
||||
|
|
|
@ -327,6 +327,7 @@
|
|||
:page-id page-id
|
||||
:object-id object-id
|
||||
:render-texts true
|
||||
:embed true
|
||||
:route "render-object"}
|
||||
|
||||
uri (-> (or uri (cf/get :public-uri))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue