I am trying to update my font rendering code to use vertex buffers and my new shader transformation code. However, when I write the buffered image created in the process to a file, the characters print really incorrectly.
(There is also an issue with a white box for each letter, but getting this issue fixed will further the debugging process.)
Font image when written to a file: http://imgur.com/nYdif7j (I can’t show the image because the font is white and it would be impossible to see)
Source to create the image that isn’t working
// See next post
Any help would be appreciated!