🐛 Fix font kerning on export

This commit is contained in:
Alejandro Alonso 2023-03-21 11:05:10 +01:00 committed by Alonso Torres
parent fbf06a4de0
commit f05e37590a
2 changed files with 3 additions and 1 deletions

View file

@ -100,7 +100,8 @@
(def browser-pool-factory
(letfn [(create []
(p/let [browser (.launch pw/chromium)
(p/let [opts #js {:args #js ["--font-render-hinting=none"]}
browser (.launch pw/chromium opts)
id (swap! pool-browser-id inc)]
(l/info :origin "factory" :action "create" :browser-id id)
(unchecked-set browser "__id" id)