title: OpenGL textures, SDL_TTF fonts and the power of two dimentions
body: <p>With my current project I've begun to translate all rendering from SDL to OpenGL. This means that I have to translate a SDL_Surface (a loaded img) to a OpenGL texture. </p>
  
  <p>When I do this I understand that it's important for the dimensions to be of the power of two. But when I create a font I can't always have it of the power of two. In a tutorial which described how to use SDL_TTF with OpenGL it made sure to transform the image to the right dimensions if it weren't, but this only distorts my image.</p>
  
  <p>If i don't mess with the dimensions everything works fine. Why do i need the power of two in dimensions? And if i really need it, how do i apply it without distorting my image?</p>