Fixed the crash, and the image outputs. However, it is just a series of lines.
Here is the updated code:http://pastebin.com/qkhg72Ad
Now, however, the format is limited to just a bitmap. I would prefer having a color and an alpha channel.
Changing the stride to 0 fixed the problem with rendering the bitmap. Though it still is limited to just that, a bitmap. I suppose I could write a shader that fixes this for me...
I played around with the resultant byte-buffer, and turned it into an RGBA texture so it works with my engine. So far so good.
If anyone wants the finished code to generate a bitmap and all the glyphs sizes, here you go: http://pastebin.com/cKj1uWjX