Skip to content

Not Rending Fonts / Invalid Characters on ImGui 1.90.7 #60

@matthewfarstad

Description

@matthewfarstad

I have a complicated dealio but basically I have cmake-imgui with dear-bindings to C and a confirmed good / functional GUI w/ SDL2 and OpenGL3.

However, I have gone as far as to whittle the program down to something like this:

    // Simple menu for TUI
    if (ImGui_BeginMainMenuBar()) {
        if (ImGui_BeginMenu("File##file")) {
            if (ImGui_MenuItem("Exit##exit")) {
                return WGUI_EXIT;
            }
            ImGui_EndMenu();
        }
        ImGui_EndMainMenuBar();
    }

All text shows up as an invalid char of some kind (but in the right spot!).

Tried w/ ImGUi freetype and messing w/ locale, but other TUIs work fine so I think this is a setup / me problem, but made issue anyway. Is this something an older version of ImGui might fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions