can not generate fonts on windows

Post Reply
Posts: 3
Joined: Tue Dec 22, 2015 11:28 am

can not generate fonts on windows

Post by hp100277 » Wed Dec 23, 2015 6:38 am

hello! I installed document server 30 on windows 2012 r2,it's fine.
when i add new font refer helpcenter( ... fonts.aspx) ,i need GenerateAllFonts.bat file.
but i can not find this file in tools folder. the folder contains a file:AllFontsGen.exe, i run it and restarted converter service. The fonts is not display.

I really hope for a prompt answer. Thank you.

Posts: 700
Joined: Tue Sep 30, 2014 11:04 am

Re: can not generate fonts on windows

Post by Dean » Thu Dec 24, 2015 7:28 am

1. Install the font in the system so it appeared in C:\Windows\Fonts.

2. Run command prompt (as an Administrator)

3. Run:

Code: Select all

cd C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\Tools
4. Run:

Code: Select all

AllFontsGen.exe "C:\Windows\Fonts" "C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\DocService\OfficeWeb\sdk\Common\AllFonts.js" "C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\DocService\OfficeWeb\sdk\Common\Images" "C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE DocumentServer\FileConverterService\Bin\font_selection.bin"
5. Restart ONLYOFFICE Converter Service.

6. Clear cache and cookies of the browser.

Post Reply