🐛 Fix problem with text rendering on export

This commit is contained in:
alonso.torres 2021-11-05 12:11:28 +01:00 committed by Andrés Moya
parent 503f0bee69
commit 78d027b25e
3 changed files with 5 additions and 4 deletions

View file

@ -104,7 +104,7 @@
(def browser-pool-factory
(letfn [(create []
(let [path (cf/get :browser-executable-path "/usr/bin/google-chrome")]
(-> (pp/launch #js {:executablePath path :args #js ["--no-sandbox"]})
(-> (pp/launch #js {:executablePath path :args #js ["--no-sandbox" "--font-render-hinting=none"]})
(p/then (fn [browser]
(let [id (deref pool-browser-id)]
(log/info :origin "factory" :action "create" :browser-id id)