-
Notifications
You must be signed in to change notification settings - Fork 76
Description
There is a way in your library to set the display coordinates to render a text at a specific position, or to set the font size directly (without scaling the projection matrix)?.
On the file glyphs-demo.cc I tried to change the coordinates of glyphy_point_t top_left for example to:
glyphy_point_t top_left = {100, 50}; demo_buffer_move_to (buffer, &top_left);
But the text is still render in the same position.
At the function demo_buffer_add_text the fourth parameter should be the font size, but f.e. if you change the size from 1 to f.e.:
demo_buffer_add_text (buffer, text, font, 100);
there is no any difference with demo_buffer_add_text (buffer, text, font, 1);
Of course if I scale the projection matrix it grows.
Is this a bug, or what is the purpose for both parameter ?