View Full Version : Vertical (or generaly oriented) text in OpenGL/Win32

10-29-2003, 02:51 PM
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.

10-29-2003, 10:27 PM
Can't you use wglUseFontOutlines() instead, then you can transform it any way you want.


10-29-2003, 11:39 PM
Try with texture mapped fonts. Then you can rotate them as simple textures in OpenGL (glRotatef).