rougier / JCGT-2013

Code for http://jcgt.org/published/0002/01/04/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for Nicolas P. Rougier, Higher Quality 2D Text Rendering, Journal of Computer Graphics Techniques (JCGT), vol. 2, no. 1, 50-64, 2013
Available online http://jcgt.org/published/0002/01/04/


This python code demonstrates higher quality 2D texture font using subpixel
rendering and positioning. You'll need the freetype library with the subpixel
rendering option (FT_CONFIG_OPTION_SUBPIXEL_RENDERING in
freetype/config/ftoption.h).

You'll also need the numpy library available from: http://numpy.scipy.org
and the OpenGL python bindings available from: http://pyopengl.sourceforge.net

Run the demo.py and enjoy...

Note that each line is shifted by 0.1 pixels...

About

Code for http://jcgt.org/published/0002/01/04/

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%