Christian Vallentin

Results 100 comments of Christian Vallentin

> as one more question in the struct _GLTglyph does x and y represent pixels offset or some other form of offset? same with w and h Yes, the x...

> the only hard part seems to be loading the image data isn't it If we take [`_gltCreateText2DFontTexture()`] as a reference again. Then the new e.g. `gltCreateFont()` function would start...

Hmm, doesn't seem so, or at least not in a straight forward manner. I just looked here on GitHub, and I found [fontbm], which mentions Linux. But once again, I...

I fixed the "fontbm" link.

I assume you downloaded `gltext.h` placed it next to your c/cpp file, e.g. `src/main.c` and then `src/gltext.h`. Then in the top of your e.g. `main.c` you add: ```c #define GLT_IMPLEMENTATION...

Hey! Just for context, there's `gltDrawText()`, which has the following function signature: It takes a `GLTtext` object and a _model view projection (MVP)_ matrix. ```c void gltDrawText( GLTtext *text, GLfloat...

I'm not entirely sure what you mean? Could you share some code or otherwise show what you mean? If it's simply that you want to supply your own matrix, then...

Assuming you have `#include "gltext.h"` above, then it's hard to tell. Would you be able to share some code snippets, so I can help further?

Do you mean as in drawing a colored rectangle behind the text? If so, then the library itself does not support that (yet?). Instead you'd have to "manually", issue the...

Just as a note here. #5 adds OpenGL ES support, but I currently don't have a setup for testing it.