- Home
- Docs
- Installation and configuration
- Community
- Windows version
- Removing unused fonts from ONLYOFFICE Docs
Removing unused fonts from ONLYOFFICE Docs
Bare-bones instructions
A large number of fonts installed on the computer with ONLYOFFICE Docs and enabled there will make the process of document opening longer, so if you are sure that you are not going to use all the installed fonts, you might consider removing them from the system and from ONLYOFFICE Docs. In case you want to limit the number of fonts uploaded from the system, you can do the following:
Removing the fonts that are used in some of the documents might ruin the original document layout and display.
- Remove the unnecessary and unused fonts from the system (from the computer with ONLYOFFICE Docs installed).
- Run the command prompt with administrator rights.
- Switch to the
C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\Tools
folder (or use the path to the folder with ONLYOFFICE Docs installed):cd C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\Tools
-
Execute the
AllFontsGen.exe
command with the following parameters:
It will scan the system font folder, the existing fonts there 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.js
script 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 still 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, the succession of actions should be the following:
- Remove the unnecessary and unused fonts from the system (from the computer with ONLYOFFICE Docs installed).
- Open the
C:\Program Files\Ascensio System SIA\ONLYOFFICE Online Editors\Tools
folder. - Run the GenerateAllFonts.bat file.
- Clear the browser cache and reopen the page.
Host ONLYOFFICE Docs on your own server or use it in the cloud
Article with the tag:
Browse all tags