From 76210c733105d5c02a01e4590ad3730e06e2eab8 Mon Sep 17 00:00:00 2001 From: Roman Demidov Date: Wed, 7 Apr 2021 11:34:35 +0300 Subject: [PATCH 1/2] Add docbuilderCoreFontsPath parameter definition to production --- Common/config/production-linux.json | 3 ++- Common/config/production-windows.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Common/config/production-linux.json b/Common/config/production-linux.json index 07585e2a0..6865353e1 100644 --- a/Common/config/production-linux.json +++ b/Common/config/production-linux.json @@ -60,7 +60,8 @@ "presentationThemesDir": "/var/www/onlyoffice/documentserver/sdkjs/slide/themes", "x2tPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t", "docbuilderPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder", - "docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js" + "docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js", + "docbuilderCoreFontsPath": "/var/lib/onlyoffice/documentserver/core-fonts" } }, "FileStorage": { diff --git a/Common/config/production-windows.json b/Common/config/production-windows.json index 8d1caecb4..22fd43e77 100644 --- a/Common/config/production-windows.json +++ b/Common/config/production-windows.json @@ -60,7 +60,8 @@ "presentationThemesDir": "../../sdkjs/slide/themes", "x2tPath": "../FileConverter/bin/x2t.exe", "docbuilderPath": "../FileConverter/bin/docbuilder.exe", - "docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js" + "docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js", + "docbuilderCoreFontsPath": "../../core-fonts" } }, "SpellChecker": { From 0b9cc954a432ff219c550bdb31fddb4a9e98f569 Mon Sep 17 00:00:00 2001 From: Roman Demidov Date: Wed, 7 Apr 2021 11:38:39 +0300 Subject: [PATCH 2/2] Add changes --- Common/config/production-linux.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/config/production-linux.json b/Common/config/production-linux.json index 6865353e1..0e2a99705 100644 --- a/Common/config/production-linux.json +++ b/Common/config/production-linux.json @@ -61,7 +61,7 @@ "x2tPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t", "docbuilderPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder", "docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js", - "docbuilderCoreFontsPath": "/var/lib/onlyoffice/documentserver/core-fonts" + "docbuilderCoreFontsPath": "/var/www/onlyoffice/documentserver/core-fonts" } }, "FileStorage": {