   Texture-Mapped Font Stretching On Resize (Solved)
  I'm using the LFontRenderer class provided on http://www.levp.de/3d/index.html (Under source code->texture-mapped fonts).Text rendering is fine, but if I resize the window the text stretches as if resizing the window is also resizing the text.I believe the problem is in the glOrtho call:glMatrixMode(GL_PROJECTION);glPushMatrix();   glLoadIdentity();glOrtho(0, m_viewWidth - m_viewLeft, m_viewHeight - m_viewTop, 0, 1, 10);   glMatrixMode(GL_MODELVIEW);where the parameters are defined as:RECT win;GetWindowRect(hWnd, &win);m_viewTop = win.top;m_viewLeft = win.left;m_viewHeight = win.bottom;m_viewWidth = win.right;This code is all modified from the original in my attempts to fix the problem, but it works exactly the same as the original code, it still stretches the text upon resizing.Any insight would be much appreciated.[Edited by - el conquist on December 14, 2005 7:14:04 PM]
  I forgot to mention, if I need to give more information (code, explanation), just let me know.   ;  Nevermind, figured out the problem.I wasn't updating the window coordinates for the glOrtho function, so when it resized the glOrtho function stayed the same, thus squishing the fonts.   