Skip to content

[fonts] one-off error - imgui.text renders with variety of font sizes #398

@bgribble

Description

@bgribble

Hi, I'm working on mfp, an imgui-bundle project.

I took the first screenshot today, with imgui_bundle 1.92.4 on Linux+Wayland with Python. I'm not able to provide a minimal reproduceable example, as I have never seen anything like this before, even with the same code, and I can't reproduce it. I just launched the program on a saved file and saw what you see.

The text strings are all imgui.text(), rendered in the context of an imgui_node_editor node. There's a imgui.push_font() at the top level that loads Inconsolata Regular as the fixed-width font. Note that the variable sizing only applies within the node editor canvas, and not on the menus, info windows, and other areas around the canvas.

Relaunching the app the exact same way on the same file produces the more-normal second result.

Image Image

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