VLC media player for Linux and friends Troubleshooting • Having trouble getting –freetype-font to work



Hello all, I’m running VLC 3.0.21 (Vetinari) on a Raspberry Pi 3B+ on the latest version of Raspberry Pi OS Lite (ie, no desktop environment, just straight from the command line.) I’m trying to change the font VLC uses to display the on-screen video title whenever a video starts playing, and while I’m able to set the colour, position, background opacity, and various other things using the –freetype-* options, the one option that refuses to do anything is –freetype-font.

I’ve tried different otf and ttf fonts to rule out a broken font file, I’ve tried setting it in vlcrc as well as passing it as an argument, I’ve triple and quadruple checked paths (both relative and absolute) to make sure I’m definitely pointing to the correct font file, I’ve made sure all file permissions are set properly, but absolutely nothing I do can convince VLC to use a different font, it always uses its default.

Here’s my vlcrc:

Code:

[main]video-title-position=9[freetype]freetype-font=/home/[redacted]/fonts/hermit/hermitregular.ttffreetype-monofont=/home/[redacted]/fonts/hermit/hermitregular.ttffreetype-background-color=0freetype-background-opacity=128freetype-outline-thickness=0freetype-fontsize=12freetype-shadow-distance=0

And here’s the output from vlc -vvv:

https://pastebin.com/raw/k9Y05w4F

Does anyone know what I’m doing wrong here? Cheers.

Statistics: Posted by sdmtr — 19 Jul 2024 07:45