Rotate bitmap fonts - yes/no/maybe?

Hi guys,

I have implimented NeHe’s lesson 13 into my code. nehe says you cant rotate bitmpa fonts.

In his lesson 14 (outline fonts) he says you can. Before I go and change everyting, does anyone know of a way I can rotate these fonts?



You can use glPixelZoom to achieve 90 degree rotations and mirroring with glDrawPixels.

But you cannot in general rotate an image rendered with glBitmap/glDrawPixels. You can convert/create bitmaps to/from textures and then rotate the texture on the texture matrix or with the geometry they’re applied to on the modelview matrix for example.