AllManyLots
New Member
- Messages
- 1
- Reaction score
- 0
I am creating a window with Brutal.GlfwApi and putting some graphics on the screen with Brutal.OpenGlApi and now want to display some text. There are two samples that show how to do this, one which uses SdlTtf and the other which uses ImGui. I don't think I want ImGui unless I am going to be using it for other things as well, though maybe I am wrong about this. Some research indicates that I can use the SdlTtf with OpenGl by turning the surface that SdlTtf renders the text to into a texture. However, I am unfamiliar enough with all this to wonder if I am missing other better ways to do this. It looks like there are other c libraries (stb_truetype) that deal with fonts, maybe I need to figure out how to create an interop for one of those?
The Brutal.FreeType package doesn't have a Hello example and doesn't seem to have any namespace associated with it.
Any guidence on this would be helpful. Though I am going to try and move forward with the SdlTtf approach.
The Brutal.FreeType package doesn't have a Hello example and doesn't seem to have any namespace associated with it.
Any guidence on this would be helpful. Though I am going to try and move forward with the SdlTtf approach.