Vertical (or generaly oriented) text in OpenGL/Win32

Does anybody know how to render (in 2D) verticaly (or generaly) oriented line of text in OpenGL running under Win32? I’ve already tested wglUseFontBitmaps() which creates a call lists of glyphs using current GDI font. Such font I’ve created before and selected to the GDI DC, with proper orientation settings. Although text was rendered with correct family, size, etc., its baseline remained horizontal, only particular characters were rotated.

Thanks in advance.

Can’t you use wglUseFontOutlines() instead, then you can transform it any way you want.


Try with texture mapped fonts. Then you can rotate them as simple textures in OpenGL (glRotatef).