[PATCH] Avoid NPE when trying to print map to PDF

Wald Commits scm-commit at wald.intevation.org
Mon Aug 3 16:05:49 CEST 2020


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1596463507 -7200
#      Mon Aug 03 16:05:07 2020 +0200
# Branch 3.2.x
# Node ID 25532d3c0af2de75a344b995839c19ccca9c0ac8
# Parent  33303817ed37f1d5d815b6f656c83031271ab380
Avoid NPE when trying to print map to PDF

diff -r 33303817ed37 -r 25532d3c0af2 docker/Dockerfile.gwt-client
--- a/docker/Dockerfile.gwt-client	Mon Aug 03 12:17:24 2020 +0200
+++ b/docker/Dockerfile.gwt-client	Mon Aug 03 16:05:07 2020 +0200
@@ -4,7 +4,7 @@
 MAINTAINER tom at intevation.de
 
 # Install prerequisites
-RUN yum -y install maven mercurial tomcat
+RUN yum -y install maven mercurial tomcat gnu-free-sans-fonts
 
 WORKDIR /opt/d4e
 ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/
diff -r 33303817ed37 -r 25532d3c0af2 docker/README
--- a/docker/README	Mon Aug 03 12:17:24 2020 +0200
+++ b/docker/README	Mon Aug 03 16:05:07 2020 +0200
@@ -4,6 +4,8 @@
 _ Change 'localhost' to '0.0.0.0' in artifacts/doc/conf/rest-server.xml
 _ Change 'localhost' to 'd4eriver-artifacts' in the server-url parameter in
   gwt-client/src/main/webapp/WEB-INF/web.xml
+_ Set font path to /usr/share/fonts/gnu-free/FreeSans.ttf in
+  gwt-client/src/main/webapp/WEB-INF/config.yaml
 
 
 Build:


More information about the Dive4Elements-commits mailing list