linuxserver / docker-jellyfin

GNU General Public License v3.0
600 stars 92 forks source link

[FEAT] Please support for asian languages #250

Closed LeXwDeX closed 1 month ago

LeXwDeX commented 1 month ago

Is this a new feature request?

Wanted change

For rendering covers that require support for Asian languages (e.g., Chinese, Japanese, Korean, etc.), additional font support is needed. You can use apt install fonts-noto-cjk-extra to add more support, which facilitates the creation of covers with non-English characters.

Reason for change

If this font support is not available, the characters on the rendered cover will appear as blocks.

Proposed code change

It's very simple, just add the step apt install fonts-noto-cjk-extra when building the Docker image.

github-actions[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 1 month ago

https://github.com/linuxserver/docker-mods/tree/universal-package-install

LeXwDeX commented 1 month ago

https://github.com/linuxserver/docker-mods/tree/universal-package-install

Hello, I know how to avoid this issue. I'm just suggesting that it could be built into the image by default, so there's no need to add extra steps.

aptalca commented 1 month ago

There are no extra steps. Just add the two env vars to your compose yaml or docker run.

We will not add that package because it would nearly double the size of the image.

theggs commented 1 month ago

@LeXwDeX Anyone who want the font being pre-installed can use my image: https://hub.docker.com/r/theggs/linuxserver-jellyfin-notofonts It is totally based on linuxserver's image(credit to linuxserver), just pre-installed the fonts.

current version: theggs/linuxserver-jellyfin-notofonts:10.9.3