[GH-ISSUE #775] Missing fonts like Calibri #357

Closed
opened 2026-02-26 10:32:04 +03:00 by kerem · 4 comments
Owner

Originally created by @gazm2k5 on GitHub (Sep 28, 2024).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/775

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

8.1.3.4

Expected Behavior

I am running ONLYOFFICE documentserver in a container for use in NextCloud.

I created a volume for fonts:

  • /docker-volumes/onlyoffice/fonts:/usr/share/fonts/truetype/custom
    and put calibri.ttf in there. But the font hasn't appeared in ONLYOFFICE.

I am very confused about the documentation for ONLYOFFICE as it says fonts like calibri are included but they aren't.
https://helpcenter.onlyoffice.com/installation/docs-community-install-fonts-linux.aspx

It also says I can run:

/usr/bin/documentserver-generate-allfonts.sh
to add the fonts I've added to the custom fonts folder, but no such file exists.

Actual Behavior

Font is missing from ONLYOFFICE.

Reproduction Steps

No response

Additional information

No response

Originally created by @gazm2k5 on GitHub (Sep 28, 2024). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/775 ### This issue is unique. - [X] I have used the [search tool](https://github.com/ONLYOFFICE/DocumentServer/issues?q=) and did not find an issue describing my bug. ### Operating System of DocumentServer Docker ### Version information 8.1.3.4 ### Expected Behavior I am running ONLYOFFICE documentserver in a container for use in NextCloud. I created a volume for fonts: - /docker-volumes/onlyoffice/fonts:/usr/share/fonts/truetype/custom and put calibri.ttf in there. But the font hasn't appeared in ONLYOFFICE. I am very confused about the documentation for ONLYOFFICE as it says fonts like calibri are included but they aren't. https://helpcenter.onlyoffice.com/installation/docs-community-install-fonts-linux.aspx It also says I can run: > /usr/bin/documentserver-generate-allfonts.sh to add the fonts I've added to the custom fonts folder, but no such file exists. ### Actual Behavior Font is missing from ONLYOFFICE. ### Reproduction Steps _No response_ ### Additional information _No response_
kerem closed this issue 2026-02-26 10:32:05 +03:00
Author
Owner

@igwyd commented on GitHub (Nov 1, 2024):

Hello @gazm2k5, sorry for the last reply.

I am very confused about the documentation for ONLYOFFICE as it says fonts like calibri are included but they aren't.

It says there that: "When installed it will check the presence of the following font files in the system", but it doesn't say that they are included in the distribution. But I agree that this could be misleading. I will ask the technical writers to change the wording.

By the way, were you able to add the calibri font?

<!-- gh-comment-id:2451704027 --> @igwyd commented on GitHub (Nov 1, 2024): Hello @gazm2k5, sorry for the last reply. > I am very confused about the documentation for ONLYOFFICE as it says fonts like calibri are included but they aren't. It says there that: "When installed it will **check** the presence of the following font files **in the system**", but it doesn't say that they are included in the distribution. But I agree that this could be misleading. I will ask the technical writers to change the wording. By the way, were you able to add the calibri font?
Author
Owner

@gazm2k5 commented on GitHub (Nov 5, 2024):

No, I couldn't figure out how to get the fonts that I added to the custom fonts folder to appear.

<!-- gh-comment-id:2456719066 --> @gazm2k5 commented on GitHub (Nov 5, 2024): No, I couldn't figure out how to get the fonts that I added to the custom fonts folder to appear.
Author
Owner

@igwyd commented on GitHub (Nov 5, 2024):

I see you are using documentserver 8.1.3 version. Did you follow all the steps in the guide https://helpcenter.onlyoffice.com/installation/docs-community-install-fonts-linux.aspx including clearing your browser cache?

  1. Install the font by copying it to /usr/share/fonts/ (to the computer with ONLYOFFICE Docs installed). Or as you did, mounted the folder.
  2. Open the /usr/bin folder.
  3. Run the documentserver-generate-allfonts.sh file inside docker container. (or just restart docker container, because generating fonts starts every start container)
  4. Clear the browser cache and reopen the page.

PS Starting with version 8.2.0, there is no need to clear your browser cache.

<!-- gh-comment-id:2457062121 --> @igwyd commented on GitHub (Nov 5, 2024): I see you are using documentserver 8.1.3 version. Did you follow all the steps in the guide https://helpcenter.onlyoffice.com/installation/docs-community-install-fonts-linux.aspx including clearing your browser cache? 1. Install the font by copying it to /usr/share/fonts/ (to the computer with ONLYOFFICE Docs installed). Or as you did, mounted the folder. 2. Open the /usr/bin folder. 3. Run the documentserver-generate-allfonts.sh file inside docker container. (or just restart docker container, because generating fonts starts every start container) 4. Clear the browser cache and reopen the page. PS Starting with version 8.2.0, there is no need to clear your browser cache.
Author
Owner

@gazm2k5 commented on GitHub (Nov 7, 2024):

It does seem to have added now. I think the container restart must have loaded the new fonts.

<!-- gh-comment-id:2462673620 --> @gazm2k5 commented on GitHub (Nov 7, 2024): It does seem to have added now. I think the container restart must have loaded the new fonts.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#357
No description provided.