From 9067db8915b7a775435b71a38781b5ac8264b08f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 1 Jul 2026 23:24:15 -0500 Subject: [PATCH] Switch to UTF-8 for overlay text rendering --- app/streaming/video/overlaymanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/streaming/video/overlaymanager.cpp b/app/streaming/video/overlaymanager.cpp index 542c2984..66664be9 100644 --- a/app/streaming/video/overlaymanager.cpp +++ b/app/streaming/video/overlaymanager.cpp @@ -174,9 +174,9 @@ SDL_Surface* OverlayManager::RenderTextOutlinedWrapped(TTF_Font* font, const cha // Draw text twice, but outline is a bit bigger int oldOutline = TTF_GetFontOutline(font); TTF_SetFontOutline(font, outlineWidth); - auto outlineSurface = TTF_RenderText_Blended_Wrapped(font, text, outlineColor, wrapWidth); + auto outlineSurface = TTF_RenderUTF8_Blended_Wrapped(font, text, outlineColor, wrapWidth); TTF_SetFontOutline(font, 0); - auto textSurface = TTF_RenderText_Blended_Wrapped(font, text, textColor, wrapWidth); + auto textSurface = TTF_RenderUTF8_Blended_Wrapped(font, text, textColor, wrapWidth); TTF_SetFontOutline(font, oldOutline); if (outlineSurface == nullptr || textSurface == nullptr) {