Closed aconstlink closed 3 years ago
Yet another bug. Here the glyph image is 512x512 but the text is rendered into a framebuffer of 800x600. So the target resolution is also missing in the equation of the glyphs' quad scaling computation.
This is due to the usage of a non quadratic viewport. The viewport needs to be ruled out with the projection matrix.
Here the glyph image size does not seem to be calculated out of the scaling. It seems the glyph image aspect ratio need to be added to the scaling. See images.
Glyph image size 128x512
Glyph image size 512x512