ONLYOFFICE cloud: self-hosted
Do you want to: Ask a how-to question
When i remove dir from core-fonts directory documentserver docker image crashes.
Is there some way to remove embeded fonts?
Thank you.
ONLYOFFICE cloud: self-hosted
Do you want to: Ask a how-to question
When i remove dir from core-fonts directory documentserver docker image crashes.
Is there some way to remove embeded fonts?
Thank you.
Hello @polauf!
Please clarify some additional information:
How its happen:
/var/www/onlyoffice/documentserver/core-fonts
from docker....
volumes:
- 'copied-folder-core-fonts:/var/www/onlyoffice/documentserver/core-fonts'
...
tibetan-machine
folder in core-fonts/
/var/log/onlyoffice
(Maybe there is more somewhere else)We have not tested your font removal procedure so we can not guarantee its performance.
But we have tested the following font removal procedure, please follow it:
Delete the unwanted folders with fonts from the core-fonts folder and add the required fonts there (inside the docker container) - /var/www/onlyoffice/documentserver/core-fonts
Run documentserver-generate-allfonts.sh
IMPORTANT: Clear the browser cache to see the new fonts.
Let me know the results
Great!
It works for removal of fonts from core-fonts
and addition to /usr/share/fonts
. Even through docker volumes.
Trick was to run documentserver-generate-allfonts.sh
after any change and clear cache from firefox.
Thank you
We were glad to help you! Please contact us if you will have any other questions.