Skip to content

Commit 623122b

Browse files
committed
Merge branch 'master' into docker-release
2 parents 815ca02 + 0333798 commit 623122b

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

deployment/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,12 @@ RUN cd /opt && \
113113
# Install latest stable Inkscape
114114
RUN apt-get update && apt-get install -y software-properties-common python-software-properties \
115115
&& add-apt-repository -y ppa:inkscape.dev/stable \
116-
&& apt-get update && apt-get install -y inkscape \
116+
&& apt-get update && apt-get install -y inkscape=0.92.4+68~ubuntu16.04.1 \
117117
&& rm -rf /var/lib/apt/lists/* && apt-get clean
118118

119+
# Copy Inkscape defaults
120+
COPY deployment/preferences.xml /root/.config/inkscape/
121+
119122
####################
120123
# Download geo-assets (same version as plotly.js extras/)
121124

deployment/preferences.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<inkscape
3+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
4+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
5+
version="1">
6+
<group
7+
id="extensions"
8+
org.inkscape.output.emf.FixPPTGrad2Polys="1"
9+
org.inkscape.print.emf.FixPPTCharPos="1"
10+
org.inkscape.print.emf.FixPPTDashLine="1"
11+
org.inkscape.print.emf.FixPPTGrad2Polys="1"
12+
org.inkscape.print.emf.FixPPTLinGrad="1"
13+
org.inkscape.print.emf.FixPPTPatternAsHatch="1"
14+
org.inkscape.print.emf.FixImageRot="1"
15+
org.inkscape.print.emf.textToPath="1"
16+
org.inkscape.output.emf.FixPPTPatternAsHatch="1"
17+
org.inkscape.output.emf.FixPPTLinGrad="1" />
18+
</inkscape>

0 commit comments

Comments
 (0)