changeset 3781:217fe7b4f909 yworks-svg2pdf

PDFTool: use standard proportion instead of unnecessary getter function
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 01 Jul 2019 17:23:07 +0200
parents 2b6734a6730a
children d36ccff8de5f
files client/src/components/Pdftool.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue	Mon Jul 01 16:14:18 2019 +0200
+++ b/client/src/components/Pdftool.vue	Mon Jul 01 17:23:07 2019 +0200
@@ -799,7 +799,7 @@
       return (
         numberOfLines *
         ((this.pdf.doc.getFontSize() * 25.4) / parseInt(this.form.resolution)) *
-        this.pdf.doc.getLineHeightFactor()
+        1.15 // see https://github.com/yWorks/jsPDF/blob/master/jspdf.js#L207
       );
     }
   },