Customize Onlyoffice server.

Remove any unnecessary fonts to reduce size of font files.

  1. Pull lastest docker image of onlyoffice server. Then cope new fonts to docker container.

    docker pull onlyoffice/documentserver
    docker stop office
    docker rm office
    docker run -i -t -d -p 5580:80 --restart=always --name=office onlyoffice/documentserver
    docker cp onlyoffice-fonts office:/usr/share/fonts/truetype/custom
    docker ps
    docker exec -it office bash
  2. Removing original fonts.

    rm -rf /var/www/onlyoffice/documentserver/core-fonts/*
    rm -rf /usr/share/fonts/X11
    rm -rf /usr/share/fonts/truetype/{* except custom path}
  3. Generate new fonts cache.

    bash /usr/bin/

If you want update help documents for Chinese, run

cp -r /var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/main/resources/help/en \

Tag: none

Leave a new comment