From 1e9a857f67a6b88397d8080bacd4c22c014db975 Mon Sep 17 00:00:00 2001 From: Giuseppe Attardi <giuseppe.attardi@garr.it> Date: Mon, 8 Oct 2018 22:25:34 +0200 Subject: [PATCH] Add new file --- install-fonts.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 install-fonts.sh diff --git a/install-fonts.sh b/install-fonts.sh new file mode 100644 index 0000000..e6bbc95 --- /dev/null +++ b/install-fonts.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +# Install default Office fonts +# see: https://helpcenter.onlyoffice.com/de/server/linux/document/install-fonts.aspx + +cd /tmp + +wget http://legionfonts.com/download/calibri +unzip calibri +sudo mv Calibri.ttf /usr/share/fonts/trutype +rm calibri + +wget http://legionfonts.com/download/ +unzip +sudo mv .ttf /usr/share/fonts/trutype +rm + +wget http://legionfonts.com/download/ +unzip +sudo mv .ttf /usr/share/fonts/trutype +rm + +wget http://legionfonts.com/download/ +unzip +sudo mv .ttf /usr/share/fonts/trutype +rm + +wget http://legionfonts.com/download/ +unzip +sudo mv .ttf /usr/share/fonts/trutype +rm + +# If DocumnentServer is running within a container +# find the container with: +# sudo docker ps -a +# and enter that container +# docker exec -it <documentserver> /bin/bash + +documentserver-generate-allfonts.sh \ No newline at end of file -- GitLab