hi there im pretty fresh at opengl aswell but look at
for some nice executable tutorials
the code you are looking for is going to look something like this
glTranslatef(px, py, 0);
glTexCoord2f(offsetX, offsetY); glVertex2f(0.0f,+0.0f);
glTexCoord2f(offsetX, offsetY + -1.0f/16); glVertex2f(0.0f,-16.0f);
glTexCoord2f(offsetX+1.0f/16, offsetY + -1.0f/16); glVertex2f(16.0f,-16.0f);
glTexCoord2f(offsetX+1.0f/16, offsetY); glVertex2f(16.0f,+0.0f);
this is some code taken from my “game-console” the thought is that by making the projection completly flat and reseting the modelview so that z doesn’t matter and by knowing how big the picture is you can display the image without scaling it. in my case every character was 16x16 pixels big.
the code above is just something close, you’ll have to experiment on your own to make it perfect.