Rong Yao
11-19-2003, 01:09 PM
I create a LOGFONT object. After initialization, I create a font handle using
CreateFontIndirect. Then I select the font handle into device context. After that, I use wglUseFontOutlines to "draw" fonts in OpenGL. My question is: how can I know the size of the fonts in OpenGL unit?
CreateFontIndirect. Then I select the font handle into device context. After that, I use wglUseFontOutlines to "draw" fonts in OpenGL. My question is: how can I know the size of the fonts in OpenGL unit?