Skip to content

modules: freetype: fix outline styles

Nassim Gharbaoui requested to merge nasso/vlc:fix-freetype-outlines into master

My first patch to VLC fixing an issue where the outlines and shadows of subtitles would not be formatted with the same style as the actual glyph.

I believe the wrong style flags were given to vlc_ftcache_GetOutlinedGlyph: instead of passing it the style flags of the current run, we were giving it the style flags of the glyph from the font face. This would result in incorrect cache hits (or misses?).

Before: image

After: Screenshot_2025-01-17_at_12.40.48

Merge request reports

Loading