diff --git a/svg_to_hpgl.py b/svg_to_hpgl.py
index 0a3acf36e9f2f95f24cb5a6c56adebf9a927b042..7e55b91601d670d0595bdcc06e0b4f77302de9c3 100644
--- a/svg_to_hpgl.py
+++ b/svg_to_hpgl.py
@@ -1,14 +1,23 @@
-# from hpgl_multipen_output import HpglMultipenOutput
-from hpgl_output_adapted import HpglOutputAdapted
+from hpgl_multipen_output import HpglMultipenOutput
+import subprocess
+# from hpgl_output_adapted import HpglOutputAdapted
 
 def svgToHPGL (path, speed=1, penCount=8, force=2):
-    e = HpglOutputAdapted()
+
+    subprocess.call(['inkscape', 
+        '-f', path,
+        '--verb', 'EditSelectAll',
+        '--verb', 'ObjectToPath',
+        '--verb', 'FileSave',
+        '--verb', 'FileQuit' ])
+
+    e = HpglMultipenOutput()
     e.affect([
-        '--orientation', '0',
+        '--orientation', '270',
         '--force', '0',
         '--overcut', '0',
         '--precut', 'false',
-        '--flat', '4',
+        '--flat', '8',
         '--toolOffset', '0',
         '--autoAlign', 'false',
         '--speed', str(speed),
diff --git a/templates/font.html b/templates/font.html
index bdc66381dd6cf12681cdb22f718255ef4b958e79..62bed1c6784ced1e88cb81552eb81f610bdacbab 100644
--- a/templates/font.html
+++ b/templates/font.html
@@ -72,7 +72,7 @@
         // --- get-input but on the pad and checkbox but on the pad
         let inputs = document.getElementsByClassName('get-input');
         for(let input of inputs){
-          input.addEventListener('input', function(){
+          input.addEventListener('change', function(){
             let frame = document.getElementById(input.dataset.frame);
             const url = new URL(frame.src);