Skip to content

Commit

Permalink
Adding host fonts for docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnake1298 committed Sep 24, 2024
1 parent 9099b3c commit 0946c79
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/general/administration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,25 @@ Jellyfin uses fonts to render text in many places.

The system fonts installed on the server are used for burning in subtitles and rendering cover images. How to install them depends on the operating system.

### Server Fonts in Docker

If you are running Jellyfin in Docker, it is possible to pass fonts you have on the host system into the Jellyfin container. Simply add two additional volumes for /usr/share/fonts and /usr/share/fontconfig and map them to the same path inside the container.

**Docker Compose Example**

```yml
volumes:
- /usr/share/fonts:/usr/share/fonts
- /usr/share/fontconfig:/usr/share/fontconfig
```
**Docker Command Line Example**
```sh
--volume /usr/share/fonts:/usr/share/fonts
--volume /usr/share/fontconfig:/usr/share/fontconfig
```

### Client Side System Fonts

The system fonts installed on the client devices are used to display the text in the client interface as well as render subtitles for some clients. How to install them depends on the operating system.
Expand Down

0 comments on commit 0946c79

Please sign in to comment.