Jellyfin Forum
Custom Font on the Desktop Media Player App - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Themes & Styles (https://forum.jellyfin.org/f-themes-styles)
+--- Thread: Custom Font on the Desktop Media Player App (/t-custom-font-on-the-desktop-media-player-app)



Custom Font on the Desktop Media Player App - DecoratedFries - 2024-02-01

Is there any way I can add the 'Futurma' Font to be the default subtitle font on the Jellyfin Media Player desktop application, If so how?

Thanks in advance.


RE: Custom Font on the Desktop Media Player App - jennystreaming - 2024-08-03

Six month without an answer! Iwish I could help you but I am not sure myself how to do it! 😥


RE: Custom Font on the Desktop Media Player App - TheDreadPirate - 2024-08-03

If the subs are image based, there is nothing you can do. For text based subs, you need to add the ttf font as an attachment and modify the subs to use that font.


RE: Custom Font on the Desktop Media Player App - Ted Hinklater - 2024-08-04

(2024-02-01, 05:13 PM)DecoratedFries Wrote: Is there any way I can add the 'Futurma' Font to be the default subtitle font on the Jellyfin Media Player desktop application, If so how?

Thanks in advance.

Code:
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
video::cue {
    font-family: 'League Spartan', sans-serif !important;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    text-shadow: 0px 0px 0px #000000;
}

It's not Futura but it's practically identical


RE: Custom Font on the Desktop Media Player App - LeviSnoot - 2024-08-04

(2024-08-04, 07:09 AM)Ted Hinklater Wrote:
(2024-02-01, 05:13 PM)DecoratedFries Wrote: Is there any way I can add the 'Futurma' Font to be the default subtitle font on the Jellyfin Media Player desktop application, If so how?

Thanks in advance.

Code:
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
video::cue {
    font-family: 'League Spartan', sans-serif !important;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    text-shadow: 0px 0px 0px #000000;
}

It's not Futura but it's practically identical

It's good to know for Windows users that Jellyfin uses WebVTT for subtitles now. Which means that in addition to styling the subtitles with CSS, you need to pay attention to the following as well:

If you've at any point changed the settings in Accessibility > Captions (Windows settings, not Jellyfin), these will override anything that is declared in ::cue. In order for these style changes to work, you need to go into the Registry Editor in Windows and remove the following registry key:

Code:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ClosedCaptioning

This should only be necessary for Chromium-based browsers. JMP is Chromium-based though, so this will be necessary to do for that.


RE: Custom Font on the Desktop Media Player App - DecoratedFries - 2024-08-31

I actually managed to find a solution for this!

For anyone who wants to set a custom font for subs :-

First, Install the font on your pc

Then, Go to %Appdata%/Local/JellyfinMediaPlayer and open the jellyfinmediaplayer.conf file using notepad or notepad++.

From there Press CTRL+F and search for "font", You will find a "font" option in the subtitles part of the file, Change the value of "font" to the name of the font that you want. ( If it doesn't change, Make sure that the font name is identical to its name in the CConfused-faceWindows/Fonts Folder )