Gentoo: get pretty VLC subtitles
While the subtitles of the VLC player on Gentoo looked rather ugly, they looked nice on Windows—to a point it really bothered me. After some online searching, I came across a forum post that helped me to resolve it rather easily:
- In VLC, go to Tools → Preferences
- Bottom left under Show settings select All
- Find Subtitles / OSD → Text renderer
Under Font (on the very top), you must enter the complete path to the font, and not just the font name itself, e.g.:
/usr/share/fonts/noto/NotoSans-Bold.ttf
- If desired, also set background, outline, and shadow, while you’re at it.
Unfortunately, if you later make changes to the Subtitle settings using the Simple settings view, it will reset the font back to the default entry (in my case “Liberation Sans”), which will result in ugly looking subtitles again. So do all changes only by using the All settings view.