The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

OpenGL News Archives

Infinitely scalable Freetype text in OpenGL

Aug 01, 2011

Combining Freetype with a contour rendering method based on distance fields, Nicolas Rougier has created a library to display infinitely scalable anti-aliased text in OpenGL. The library, simply called freetype-gl, is BSD licensed and can be used in commercial products. This is a way to finally get rid of pixelated and blurred text in real time content. The rendering technique extends to monochrome line art in general, although this particular library is aimed specifically at rendering Freetype fonts. Code and more information available online.