Kodi Community Forum
v17 Custom fonts for subtitles issue - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: v17 Custom fonts for subtitles issue (/showthread.php?tid=325147)



Custom fonts for subtitles issue - rooty - 2017-12-07

Hi, I have SSA subtitles (*.ass) with custom fonts that I have as separate files. I moved the files to /storage/.kodi/media/Fonts . So Kodi sees these new fonts and I can change default font under "Language --> Subtitle --> Font to use for text subtitles".
What I'm trying to achieve is actually to see all these fonts while watching a movie like it's defined in *.ass file when different time-line can have different fonts. 
Quote:[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1
Style: font favorite pos bottom,Favorite,43,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1
Style: font artist-moders pos top,Artist-Modern,43,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,8,10,10,10,1
Style: font pf-kids-pro pos middle,PF Kids Pro,43,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,5,10,10,10,1
 Does anybody know how to make it work in Kodi?

I use:
kodi 17.6 @  LibreELEC


RE: Custom fonts for subtitles issue - rooty - 2017-12-08

Just fyi, who's experiencing the same issue. So this is related to LibreELEC, actually to xorg setup, not Kodi itself. Details can be found here.


RE: Custom fonts for subtitles issue - yol - 2020-07-05

On most distros you should be able to put fonts into $HOME/.local/share/fonts