• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Themes & Styles Adding/Customizing Fonts

     
    • 1 Vote(s) - 5 Average

    Adding/Customizing Fonts

    kilogeno
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #1
    2024-01-18, 01:35 AM
    How do i add a different font for subtitles? i want a white font with a black border for better readability, like the VLC default font
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-01-18, 01:55 AM (This post was last modified: 2024-01-18, 04:16 PM by Efficient_Good_5784. Edited 2 times in total.)
    This will largely depend on what type of subtitles you're dealing with.

    If your files have image-based subs (like vobsub or PGS), you can't change their fonts since they're images being played at set times. They're not set up in a text format. You'll have to OCR them and save them in another sub format to do so.

    If your subs are ASS/SSA subs, you'll have to edit each sub file to change the fonts for each style type. Depending on the sub source for these, a single sub file could have one style or multiple styles that you'll have to edit the fonts for. You'll then have to make sure you either embed the font files into each video container or add them as a fallback font in Jellyfin's dashboard, as each client might not have access to that specific font. If the client you're playing the video on doesn't have that specific font, the client will replace it with one of its default fonts (or break the subs in some cases and show unintelligible gibberish on screen).

    If your subs are in a format like SRT subs, I believe Jellyfin can change the look of these (at least on Jellyfin's webGUI-based browsers). Go to your client settings, then subtitles, and in there you'll find some settings to change the way they look.
    kilogeno
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #3
    2024-01-18, 02:10 AM
    Got it. so mainly just looking to add a new default font. the current jellyfin defaults are hard to read/distinguish from the moving images behind
    JackyHe398
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2025 Feb
    Reputation: 0
    #4
    2025-02-20, 04:22 PM (This post was last modified: 2025-02-20, 04:24 PM by JackyHe398. Edited 1 time in total.)
    You can download the desired font (.ttf) to a directory, then duplicate it 6 times and rename them to:
    DejaVuSans.ttf
    DejaVuSans-Bold.ttf
    DejaVuSansMono.ttf
    DejaVuSansMono-Bold.ttf
    DejaVuSerif.ttf
    DejaVuSerif-Bold.ttf

    After that, mount the directory to /usr/share/fonts/truetype/dejavu in Docker. Make sure the permissions are set correctly, and clear the browser cache. I spent hours troubleshooting this issue, so pay close attention.

    reference: https://blog.csdn.net/shellingford37/art.../139562054
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode