New police

Questions/problems on Docker
Post Reply
Issa
Posts: 9
Joined: Fri Oct 13, 2017 7:09 am

New police

Post by Issa » Thu Oct 26, 2017 10:07 am

Hello,

there how install some new police on onlyoffice please ?

i

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: New police

Post by Maxim » Thu Oct 26, 2017 11:31 am

Hello Issa!
there how install some new police on onlyoffice please ?
police? what do you mean by this?

Issa
Posts: 9
Joined: Fri Oct 13, 2017 7:09 am

Re: New police

Post by Issa » Wed Nov 08, 2017 9:08 am

Sorry, police is in french,
i talk about font

like this :

https://www.dafont.com/fr/

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: New police

Post by Maxim » Fri Nov 10, 2017 1:15 pm

Hello Issa!
See here

Issa
Posts: 9
Joined: Fri Oct 13, 2017 7:09 am

Re: New police

Post by Issa » Thu Jun 07, 2018 10:40 am

Hello cool :

but on docker version what folder i have to use ??

Bare Bones Instructions

By default Document Server uses embedded free fonts (true type only in .ttf format) from the operating system where Document Server is installed. If you would like to use additional fonts you can do the following:

Install the font by copying it to /usr/share/fonts/ (to the computer with Document Server installed).
Open the /usr/bin folder.
Run the documentserver-generate-allfonts.sh file.
Clear the browser cache and reopen the page

Carl
Posts: 92
Joined: Thu Apr 12, 2018 10:00 am

Re: New police

Post by Carl » Fri Jun 08, 2018 12:57 pm

Hello Issa,

you can copy the .ttf file inside the docker container:

sudo docker cp font.ttf [container_id]:/usr/share/fonts

and run the script

sudo docker exec -it [container_id] bash documentserver-generate-allfonts.sh

Post Reply