changeset 3801:1399d31531f7 yworks-svg2pdf

client: improve pdf generation to use linbiolinum font * Use linbiolinum font also for diagrams to be consistent with the PDF generated by the map.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 04 Jul 2019 10:50:19 +0200
parents 26325370ba18
children e8a950cf6c02
files client/src/lib/mixins.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/lib/mixins.js	Thu Jul 04 10:43:12 2019 +0200
+++ b/client/src/lib/mixins.js	Thu Jul 04 10:50:19 2019 +0200
@@ -100,6 +100,7 @@
       }
       // check the template elements
       if (templateData) {
+        this.pdf.doc.setFont("linbiolinum", "normal");
         let defaultFontSize = 11,
           defaultColor = "black",
           defaultWidth = 70,