- Home
- Docs
- Installation and configuration
- Community
- Windows version
- Removing unused fonts from ONLYOFFICE Docs
Removing unused fonts from ONLYOFFICE Docs
Bare-bones instructions
Having a large number of fonts installed on the ONLYOFFICE Docs server will slow down document opening. If you do not need all installed fonts, consider removing them:
Removing the fonts that are used in some of the documents might ruin the original document layout and display.
- Remove the unused fonts from the system (from the computer with ONLYOFFICE Docs installed).
- Open the command prompt as administrator.
-
Switch to the
C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\Toolsfolder (use the actual installation path if it differs from the default):cd C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\Tools -
Execute the
AllFontsGen.execommand with the following parameters:
It will scan the system font folder. The existing fonts will be used by theAllFontsGen.exe "C:\Windows\Fonts" "C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\DocService\web-apps\sdk\Common\AllFonts.js" "C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\DocService\web-apps\sdk\Common\Images" "C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\FileConverterService\Bin\font_selection.bin"AllFonts.jsscript file to build the font database for their further usage. - Restart the ONLYOFFICE Converter Service.
- Clear the browser cache and reopen the page.
Helpful hints
Removing unused fonts from older ONLYOFFICE Docs versions
If you are using the older 2.5 version of ONLYOFFICE Docs for Windows, we recommend that you upgrade to the latest available version. If you do not have the possibility to upgrade and need to remove the installed fonts, proceed as follows:
- Remove the unused fonts from the system (from the computer with ONLYOFFICE Docs installed).
- Open the
C:\Program Files\Ascensio System SIA\ONLYOFFICE Online Editors\Toolsfolder. - Run the GenerateAllFonts.bat file.
- Clear the browser cache and reopen the page.
Article with the tag:
Browse all tags