Missing your favorite font in our desktop editors? You can add it manually. In this post, we’ll explain how to do this on Linux, Windows, and macOS.
To add the new font to the ONLYOFFICE desktop app, you need to add it to your system and restart the app. The new font will appear the next time you run the editors.
Method 1. Just double-click the font file. It will be opened for viewing and you will see the Install button. Alternatively, you can find the Install button in the context menu of the font file.
Method 2. Copy the font file to C:\Windows\Fonts.
Method 3. In Windows 10, you can install the font from Windows Store.
Method 1. On Linux, fonts are stored in the following folders:
/usr/share/fonts/ for global fonts available for all users and
~/.fonts for local fonts available for the current user. You need to download the font file and copy it to one of these folders.
Note that installing to the folder
/usr/local/share/fonts requires root access.
Also, the font files must have permissions
644 (-rw-r--r--), otherwise, you won’t be able to use them.
More information about manual installation can be found here.
Method 2. Many Linux systems, Ubuntu, for instance, have a built-in font viewer, so you can open the file using this app and hit the Install button.
Method 3. You can install fonts using your package manager, but first, make sure that the package with the font does exist. Let’s have a look at the example of a Debian-based system:
sudo apt search tahoma
If you are able to find the package, you can install it:
sudo apt install tahoma
You can install additional font using the system app called Font Book.
Method 1. Just click on the font file. Font Book will be opened and you will be asked whether you want to install this font.
Method 2. Start Font Book and press the Add button on the Fonts panel. Choose the font file and press Open. The Font will be installed automatically.
Method 3. Start the Font Book app. Find the downloaded file in the Finder and drag it to the Font Book icon on the Dock panel.
Method 4. This one allows getting the fonts that are available to all macOS users but not installed on your system.
In Font Book, click All Fonts in the sidebar on the left, then select a dimmed font family or one or more styles. Click Download in the preview pane, then click Download in the dialogue that appears.
The fonts you install are available just to you, or to anyone who uses your computer, depending on what you set as the default location for installed fonts (Computer or User).
More about installing fonts on macOS here.
Download ONLYOFFICE Desktop on the official site.
See the source code on GitHub.
Learn how to compile ONLYOFFICE Desktop Editors here.
Read about version 5.5 in our blog.