diff --git a/UI/window-projector.cpp b/UI/window-projector.cpp index 3c14815ca..565c57e80 100644 --- a/UI/window-projector.cpp +++ b/UI/window-projector.cpp @@ -116,7 +116,13 @@ static OBSSource CreateLabel(const char *name, size_t h) obs_data_set_string(settings, "text", text.c_str()); obs_data_set_bool(settings, "outline", true); - OBSSource txtSource = obs_source_create_private("text_ft2_source", name, +#ifdef _WIN32 + const char *text_source_id = "text_gdiplus"; +#else + const char *text_source_id = "text_ft2_source"; +#endif + + OBSSource txtSource = obs_source_create_private(text_source_id, name, settings); obs_source_release(txtSource); @@ -835,9 +841,6 @@ void OBSProjector::UpdateMultiview() name += " - "; name += obs_source_get_name(src); - if (name.size() > 15) - name.resize(15); - multiviewLabels[curIdx + 2] = CreateLabel(name.c_str(), h / 4); curIdx++;