Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to load fonts #15

Open
AlexApps99 opened this issue Dec 11, 2020 · 1 comment
Open

No way to load fonts #15

AlexApps99 opened this issue Dec 11, 2020 · 1 comment

Comments

@AlexApps99
Copy link

AlexApps99 commented Dec 11, 2020

The example for loading fonts in ImGui is only provided for imgui_glium_renderer. The example uses a method called reload_font_texture, which this library does not provide.

There are no examples on how to load a font in this renderer, and I'm sure loading fonts is an important feature to support.

At least 3 backends support it, while this one does not:
imgui_glium_renderer imgui_wgpu imgui_gfx_renderer

@AlexApps99
Copy link
Author

Since this backend is very different to the three examples above, it might be worth redoing the API to make it closer.
It would make it easier to use when basing off the examples provided by imgui-rs, and make it easier to support multiple backends for a program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant