🐛 Parametrized render to embed objects. Fix problem with fonts when exporting to SVG

This commit is contained in:
alonso.torres 2022-03-21 21:34:46 +01:00
parent e6f8269c0b
commit 118b4367e7
6 changed files with 17 additions and 9 deletions

View file

@ -26,6 +26,7 @@
(defn- get-mtype
[type]
(case (d/name type)
"zip" "application/zip"
"pdf" "application/pdf"

View file

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