diff --git a/src/imgui/imgui_draw.cpp b/src/imgui/imgui_draw.cpp index ebf31b3d..c3184e07 100644 --- a/src/imgui/imgui_draw.cpp +++ b/src/imgui/imgui_draw.cpp @@ -3845,6 +3845,18 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, Im if (glyph == NULL) continue; + // + // SKIF Mod: Unprintable Character Callback + // + if (glyph == FallbackGlyph) + { + extern void + SKIF_ImGui_MissingGlyphCallback (wchar_t c); + SKIF_ImGui_MissingGlyphCallback ( + static_cast (c) + ); + } + float char_width = glyph->AdvanceX * scale; if (glyph->Visible) {