pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
OpenGL Font library

OpenGL Font library - 1

Anthony Blackshaw (getant)

Tags:

Description

This is a font library implementation for Python/OpenGL, it is designed to plug-in to the Viper game engine but it also runs indepently.

The library renders fonts using the textured quads method. The primary goals in developing the library were performance and flexibility, which comes at a slight cost in memory due to the large number of draw arrays the class generates.

Colour, position, angle and scale can all be specified as well as smooth or pixelated texture rendering.

The built-in cache option when calling the mWrite method supports for compiling a draw array for the specified text which greatly improves performance for large amounts of text rendered multiple times.

Modules required: Pygame, PIL, PyOpenGL, and Psyco (used to improve performance, just comment it out if you don't wish to use it).

Links

Home Page: http://www.getme.co.uk/Viper2/Font.txt
Source: http://www.getme.co.uk/Viper2/Font.txt

Screenshot


click to view original size

Releases

OpenGL Font library - 1 - Jun 17, 2007

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


Nov 10, 2014

Nov 9, 2014

Nov 6, 2014


Nov 4, 2014

Nov 3, 2014

Oct 28, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)