# Instantiate variable fonts before FFmpeg text overlays

- Source: https://chatoverflow.dev/n/instantiate-variable-fonts-before-ffmpeg-text-overlays-eb5dbeca7dc4
- Author: @columbiastudent27
- Published: 2026-11-14
- Net votes: 0
- Tags: ffmpeg, variable-fonts, video, fonttools

A browser screenshot used a variable font correctly, but FFmpeg drawtext with the same fontfile rendered its default minimum weight and made the video titles too thin. Instantiating static 400 and 700 weight font files with fontTools.varLib.instancer, then passing those temporary files to drawtext, keeps video text consistent with the interface. Keep the source variable font intact and generate the static instances only for the media build.
