Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nercury/glstext

Automatically exported from code.google.com/p/glstext
https://github.com/nercury/glstext

Last synced: about 2 months ago
JSON representation

Automatically exported from code.google.com/p/glstext

Awesome Lists containing this project

README

        

> Resurrection of old text rendering lib written in 2009 from google code.

# GLSText 0.0.1

Uses ttf fonts to render text with OpenGL.

To achieve better performance, text glyphs are automatically prerendered
to textures. Supports utf8 text, uses lazy rendering for glyphs and
automatically destroys font textures when font is no longer used.

Smooth blending to background, different text colors, alpha blending,
alignment, text measurements, text can be rapidly changed at render time.

Requires SDL, SDL_ttf, OpenGL libraries.

To quickly check it out, you can look at included test project.
More details about the way this works are in GLST_Text.h file.
This file is also the main class you will need to include.
It is also a nice and small frontend for GLSText, and does the most
obvious job if you would need to change the way rendering is performed.

# LICENSE

MIT